diff --git a/src/user/profile.js b/src/user/profile.js index 5ee4fed689..5da6eb7409 100644 --- a/src/user/profile.js +++ b/src/user/profile.js @@ -200,6 +200,7 @@ module.exports = function (User) { async.series([ async.apply(db.sortedSetRemove, 'email:uid', oldEmail.toLowerCase()), async.apply(db.sortedSetRemove, 'email:sorted', oldEmail.toLowerCase() + ':' + uid), + async.apply(User.auth.revokeAllSessions, uid), ], function (err) { next(err); });