mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #766 from rschamp/bugfix/password-reset
Don't redirect to password reset on complete_registration
This commit is contained in:
commit
b35d7606f4
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ module.exports.refreshSession = function () {
|
|||
} else if (
|
||||
body.flags &&
|
||||
body.flags.must_reset_password &&
|
||||
!body.flags.must_complete_registration &&
|
||||
window.location.pathname !== '/classes/student_password_reset/') {
|
||||
return window.location = '/classes/student_password_reset/';
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue