Make verify() follow the specs and return null
Этот коммит содержится в:
родитель
d10c328292
Коммит
0154ab839b
4
index.js
4
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 = {};
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user