Commit 0b1f7084 authored by Ray Schamp's avatar Ray Schamp

Don't redirect to password reset on complete_registration

parent 2b1cf25f
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment