diff --git a/index.js b/index.js index 0d90430..189a9aa 100644 --- a/index.js +++ b/index.js @@ -91,8 +91,8 @@ hotp.verify = function(token, key, opt) { } } - // If we get to here then no codes have matched, return false - return false; + // If we get to here then no codes have matched, return null + return null; }; var totp = {};