Don't redirect to password reset on complete_registration

This commit is contained in:
Ray Schamp 2016-07-27 10:27:31 -04:00
parent 2b1cf25f88
commit 0b1f708400

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 {