Node.js based forum software built for the modern web
feat: revoke user sessions on successful password reset
Julian Lam6ca216ab6e86
diff --git a/src/user/reset.js b/src/user/reset.jsindex 6d9e99dc58..b8a77a4d08 100644--- a/src/user/reset.js+++ b/src/user/reset.js@@ -105,6 +105,7 @@ UserReset.commit = async function (code, password) {]),user.reset.updateExpiry(uid),user.auth.resetLockout(uid),+ user.auth.revokeAllSessions(uid),user.email.expireValidation(uid),]);};