diff --git a/src/classes/User.js b/src/classes/User.js index 7afbdfd3..c60c302f 100644 --- a/src/classes/User.js +++ b/src/classes/User.js @@ -439,7 +439,7 @@ User.prototype.revokeToken = async function () { await db.collection('users').doc(this.id).update(data); this.mfaEnabled = false; - this.secret = encryptData; + this.secret = encryptedData; this.sessions = []; };