Make verify() follow the specs and return null

This commit is contained in:
Fazli Sapuan 2014-06-09 13:58:19 +08:00
förälder d10c328292
incheckning 0154ab839b

Visa fil

@ -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 = {};