fix: #8991, logout on password reset, dont verify email if password expired

dont allow same password on reset
This commit is contained in:
Barış Soner Uşaklı
2020-11-29 21:55:07 -05:00
parent 8adbf54ae6
commit 5080f35752
6 changed files with 57 additions and 5 deletions

View File

@@ -180,8 +180,9 @@ app.cacheBuster = null;
message = message.message || message;
if (message === '[[error:invalid-session]]') {
app.handleInvalidSession();
app.logout(false);
return app.handleInvalidSession();
return;
}
app.alert({