Merge pull request #766 from rschamp/bugfix/password-reset

Don't redirect to password reset on complete_registration
This commit is contained in:
Ray Schamp 2016-07-27 10:28:11 -04:00 committed by GitHub
commit b35d7606f4

View file

@ -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 {