Node.js based forum software built for the modern web
fix: closes #14591, remove tokens if email removed
Barış Soner Uşaklı349797ac427f
diff --git a/src/user/email.js b/src/user/email.jsindex 6828da4092..f2fa2916c5 100644--- a/src/user/email.js+++ b/src/user/email.js@@ -41,6 +41,7 @@ UserEmail.remove = async function (uid, sessionId) {['email:sorted', `${email.toLowerCase()}:${uid}`],]),user.email.expireValidation(uid),+ user.reset.cleanByUid(uid),user.auth.revokeAllSessions(uid, sessionId),events.log({targetUid: uid,