Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
b48e3a96
Commit
b48e3a96
authored
11 years ago
by
Jason Bau
Browse files
Options
Downloads
Patches
Plain Diff
fix some shib signup session related bugs
parent
11ecd162
No related branches found
Branches containing commit
Tags
release-2021-05-04-10.16
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/djangoapps/external_auth/views.py
+0
-4
0 additions, 4 deletions
common/djangoapps/external_auth/views.py
with
0 additions
and
4 deletions
common/djangoapps/external_auth/views.py
+
0
−
4
View file @
b48e3a96
...
...
@@ -34,7 +34,6 @@ try:
except
ImportError
:
from
django.contrib.csrf.middleware
import
csrf_exempt
from
django_future.csrf
import
ensure_csrf_cookie
from
util.cache
import
cache_if_anonymous
import
django_openid_auth.views
as
openid_views
from
django_openid_auth
import
auth
as
openid_auth
...
...
@@ -137,8 +136,6 @@ def _external_login_or_signup(request,
fullname
,
retfun
=
None
):
"""
Generic external auth login or signup
"""
logout
(
request
)
# see if we have a map from this external_id to an edX username
try
:
eamap
=
ExternalAuthMap
.
objects
.
get
(
external_id
=
external_id
,
...
...
@@ -242,7 +239,6 @@ def _flatten_to_ascii(txt):
return
unicode
(
unicodedata
.
normalize
(
'
NFKD
'
,
txt
).
encode
(
'
ASCII
'
,
'
ignore
'
))
@ensure_csrf_cookie
@cache_if_anonymous
def
_signup
(
request
,
eamap
):
"""
Present form to complete for signup via external authentication.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment