Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b48e3a96
Commit
b48e3a96
authored
Sep 20, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some shib signup session related bugs
parent
11ecd162
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
common/djangoapps/external_auth/views.py
+0
-4
No files found.
common/djangoapps/external_auth/views.py
View file @
b48e3a96
...
@@ -34,7 +34,6 @@ try:
...
@@ -34,7 +34,6 @@ try:
except
ImportError
:
except
ImportError
:
from
django.contrib.csrf.middleware
import
csrf_exempt
from
django.contrib.csrf.middleware
import
csrf_exempt
from
django_future.csrf
import
ensure_csrf_cookie
from
django_future.csrf
import
ensure_csrf_cookie
from
util.cache
import
cache_if_anonymous
import
django_openid_auth.views
as
openid_views
import
django_openid_auth.views
as
openid_views
from
django_openid_auth
import
auth
as
openid_auth
from
django_openid_auth
import
auth
as
openid_auth
...
@@ -137,8 +136,6 @@ def _external_login_or_signup(request,
...
@@ -137,8 +136,6 @@ def _external_login_or_signup(request,
fullname
,
fullname
,
retfun
=
None
):
retfun
=
None
):
"""Generic external auth login or signup"""
"""Generic external auth login or signup"""
logout
(
request
)
# see if we have a map from this external_id to an edX username
# see if we have a map from this external_id to an edX username
try
:
try
:
eamap
=
ExternalAuthMap
.
objects
.
get
(
external_id
=
external_id
,
eamap
=
ExternalAuthMap
.
objects
.
get
(
external_id
=
external_id
,
...
@@ -242,7 +239,6 @@ def _flatten_to_ascii(txt):
...
@@ -242,7 +239,6 @@ def _flatten_to_ascii(txt):
return
unicode
(
unicodedata
.
normalize
(
'NFKD'
,
txt
)
.
encode
(
'ASCII'
,
'ignore'
))
return
unicode
(
unicodedata
.
normalize
(
'NFKD'
,
txt
)
.
encode
(
'ASCII'
,
'ignore'
))
@ensure_csrf_cookie
@ensure_csrf_cookie
@cache_if_anonymous
def
_signup
(
request
,
eamap
):
def
_signup
(
request
,
eamap
):
"""
"""
Present form to complete for signup via external authentication.
Present form to complete for signup via external authentication.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment