mirror of https://github.com/keeweb/keeweb.git
make otp url valid base32
This commit is contained in:
parent
ddadf0f9fa
commit
673094c1c3
|
@ -505,7 +505,7 @@ var EntryModel = Backbone.Model.extend({
|
|||
otpUrl = otpUrl.getText();
|
||||
}
|
||||
if (Otp.isSecret(otpUrl)) {
|
||||
otpUrl = Otp.makeUrl(otpUrl);
|
||||
otpUrl = Otp.makeUrl(otpUrl.toUpperCase());
|
||||
} else if (otpUrl.toLowerCase().lastIndexOf('otpauth:', 0) !== 0) {
|
||||
// KeeOTP plugin format
|
||||
var args = {};
|
||||
|
|
Loading…
Reference in New Issue