mirror of https://github.com/keeweb/keeweb.git
Fixed typo
This commit is contained in:
parent
645d904954
commit
4405fdb5fe
|
@ -90,7 +90,7 @@ Otp.prototype.hmac = function(data, callback) {
|
|||
});
|
||||
};
|
||||
|
||||
Otp.HmacToDigits = function (hmac, length) {
|
||||
Otp.HmacToDigits = function(hmac, length) {
|
||||
let code = hmac.toString();
|
||||
code = Otp.leftPad(code.substr(code.length - length), length);
|
||||
return code;
|
||||
|
|
Loading…
Reference in New Issue