fix: Passwored reset page throwing page not found error (#27982)

Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
This commit is contained in:
Farhaan Bukhsh
2021-07-22 19:21:02 +05:30
committed by GitHub
parent fb6ce41478
commit fa5736285e

View File

@@ -283,7 +283,7 @@
this.element.show($form);
// Update url without reloading page
if (type != 'institution_login') {
if (type != 'institution_login' && type != 'reset') {
History.pushState(null, document.title, '/' + type + queryStr);
}
analytics.page('login_and_registration', type);