Node.js based forum software built for the modern web
closes #5524
barisusakli6a4b08208090
diff --git a/public/src/client/account/edit/password.js b/public/src/client/account/edit/password.jsindex e6fccf46e5..d2239b36a0 100644--- a/public/src/client/account/edit/password.js+++ b/public/src/client/account/edit/password.js@@ -79,8 +79,8 @@ define('forum/account/edit/password', ['forum/account/header', 'translator'], fuonPasswordConfirmChanged();return app.alertError(err.message);}- ajaxify.go('user/' + ajaxify.data.userslug);- app.alertSuccess('[[user:change_password_success]]');++ window.location.href = config.relative_path + '/login';});} else {if (!passwordsmatch) {diff --git a/src/user/profile.js b/src/user/profile.jsindex ab7d9f9ae2..b2b3b7eb5f 100644--- a/src/user/profile.js+++ b/src/user/profile.js@@ -272,6 +272,7 @@ module.exports = function (User) {async.parallel([async.apply(User.setUserField, data.uid, 'password', hashedPassword),async.apply(User.reset.updateExpiry, data.uid),+ async.apply(User.auth.revokeAllSessions, data.uid),], function (err) {next(err);});