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
613c53a7
Commit
613c53a7
authored
Aug 02, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slight cleanup, no need to import all of django_openid_auth
parent
f2a9110b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/djangoapps/external_auth/views.py
+2
-2
No files found.
common/djangoapps/external_auth/views.py
View file @
613c53a7
...
...
@@ -26,7 +26,7 @@ from util.cache import cache_if_anonymous
from
django_openid_auth
import
auth
as
openid_auth
from
openid.consumer.consumer
import
(
Consumer
,
SUCCESS
,
CANCEL
,
FAILURE
)
import
django_openid_auth
import
django_openid_auth
.views
as
openid_views
import
student.views
as
student_views
...
...
@@ -56,7 +56,7 @@ def edXauth_openid_login_complete(request, redirect_field_name=REDIRECT_FIELD_N
getattr
(
settings
,
'OPENID_RENDER_FAILURE'
,
None
)
or
\
default_render_failure
openid_response
=
django_openid_auth
.
views
.
parse_openid_response
(
request
)
openid_response
=
openid_
views
.
parse_openid_response
(
request
)
if
not
openid_response
:
return
render_failure
(
request
,
'This is an OpenID relying party endpoint.'
)
...
...
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