fix: remove unnecessary line

This commit is contained in:
Chen Asraf
2022-11-26 02:37:34 +02:00
parent 2e2d222760
commit 29de0b252d

View File

@@ -276,7 +276,6 @@ function _verifyToken<U>(
secret: string,
reqToken: string,
) {
options = { ...options, timestamp: options.timestamp ?? Date.now() }
const genToken = _totp(secret, options)
return genToken === reqToken
}