diff --git a/app/scripts/util/data/otp.js b/app/scripts/util/data/otp.js index a5465e6a..3d78b3cd 100644 --- a/app/scripts/util/data/otp.js +++ b/app/scripts/util/data/otp.js @@ -108,6 +108,7 @@ Otp.hmacToSteamCode = function(hmac) { }; Otp.fromBase32 = function(str) { + str = str.replace(/\s/g, ''); const alphabet = 'abcdefghijklmnopqrstuvwxyz234567'; let bin = ''; let i; diff --git a/release-notes.md b/release-notes.md index 7a870dca..076475ae 100644 --- a/release-notes.md +++ b/release-notes.md @@ -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