fix: remove mfaCode from passLogin and make sure that code passes tests

This commit is contained in:
TheDevYellowy
2025-01-20 03:53:44 -06:00
parent 5fbca25c45
commit aaf5df1de3
2 changed files with 4 additions and 4 deletions

View File

@@ -16,10 +16,10 @@ class TOTP {
// eslint-disable-next-line valid-jsdoc
/**
* Generates a Time-based One-Time Password (TOTP)
* @async
* @public
* @param {string} key - The secret key for TOTP
* @param {generateOptions} options - Optional parameters for TOTP
* @returns {Promise<{ otp: string; expires: number }>}
* @returns {Promise<{ otp: string, expires: number }>}
*/
static async generate(key, options = {}) {
const _options = {