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
99dea49d
Commit
99dea49d
authored
Aug 07, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9243 from stvstnfrd/upstream-branding
Remove Stanford branding from external_auth view
parents
c1d9f731
d7c87221
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
common/djangoapps/external_auth/views.py
+7
-4
No files found.
common/djangoapps/external_auth/views.py
View file @
99dea49d
...
@@ -172,10 +172,13 @@ def _external_login_or_signup(request,
...
@@ -172,10 +172,13 @@ def _external_login_or_signup(request,
else
:
else
:
# otherwise, there must have been an error, b/c we've already linked a user with these external
# otherwise, there must have been an error, b/c we've already linked a user with these external
# creds
# creds
failure_msg
=
_
(
dedent
(
"""
failure_msg
=
_
(
You have already created an account using an external login like WebAuth or Shibboleth.
"You have already created an account using "
Please contact
%
s for support """
"an external login like WebAuth or Shibboleth. "
%
getattr
(
settings
,
'TECH_SUPPORT_EMAIL'
,
'techsupport@class.stanford.edu'
)))
"Please contact {tech_support_email} for support."
)
.
format
(
tech_support_email
=
settings
.
TECH_SUPPORT_EMAIL
,
)
return
default_render_failure
(
request
,
failure_msg
)
return
default_render_failure
(
request
,
failure_msg
)
except
User
.
DoesNotExist
:
except
User
.
DoesNotExist
:
log
.
info
(
u'SHIB: No user for
%
s yet, doing signup'
,
eamap
.
external_email
)
log
.
info
(
u'SHIB: No user for
%
s yet, doing signup'
,
eamap
.
external_email
)
...
...
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