mirror of https://github.com/keeweb/keeweb.git
fix #734: OTP secrets with spaces
This commit is contained in:
parent
604c1bd3d4
commit
6b1361ad9d
|
@ -108,6 +108,7 @@ Otp.hmacToSteamCode = function(hmac) {
|
|||
};
|
||||
|
||||
Otp.fromBase32 = function(str) {
|
||||
str = str.replace(/\s/g, '');
|
||||
const alphabet = 'abcdefghijklmnopqrstuvwxyz234567';
|
||||
let bin = '';
|
||||
let i;
|
||||
|
|
|
@ -2,6 +2,7 @@ Release notes
|
|||
-------------
|
||||
##### v1.13.0 (TBD)
|
||||
`-` fix #1323: version in the About dialog
|
||||
`-` fix #734: OTP secrets with spaces
|
||||
|
||||
##### v1.12.1 (2019-10-27)
|
||||
`-` fix #1324: duplicated shortcut editor in settings
|
||||
|
|
Loading…
Reference in New Issue