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
be2b5559
Commit
be2b5559
authored
Oct 23, 2014
by
Will Daly
Committed by
AlasdairSwan
Oct 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a 403 status to indicate that the user does not have a linked
account for third party auth.
parent
08e03ef3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lms/static/js/student_account/views/LoginView.js
+3
-3
No files found.
lms/static/js/student_account/views/LoginView.js
View file @
be2b5559
...
...
@@ -73,7 +73,6 @@ var edx = edx || {};
},
saveError
:
function
(
error
)
{
// console.log(error.status, ' error: ', error.responseText);
this
.
errors
=
[
'<li>'
+
error
.
responseText
+
'</li>'
];
this
.
setErrors
();
...
...
@@ -83,13 +82,14 @@ var edx = edx || {};
* we need to prompt the user to enter a little more information
* to complete the registration process.
*/
if
(
error
.
status
===
403
&&
error
.
responseText
===
"third-party-auth"
&&
this
.
currentProvider
)
{
if
(
error
.
status
===
403
&&
error
.
responseText
===
"third-party-auth"
&&
this
.
currentProvider
)
{
this
.
element
.
show
(
this
.
$alreadyAuthenticatedMsg
);
}
else
{
this
.
element
.
hide
(
this
.
$alreadyAuthenticatedMsg
);
// TODO -- display the error
}
}
});
...
...
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