More OTP updates/fixes

* Ensure email address at save
* Fix QR display issues for non-Google Auth
* More cleanup/etc.
This commit is contained in:
Bryan Ashby 2019-06-13 22:54:56 -06:00
parent 7481421898
commit 2b154800c0
No known key found for this signature in database
GPG key ID: B49EB437951D2542
4 changed files with 90 additions and 17 deletions

View file

@ -123,7 +123,7 @@ function createQRCode(otp, options, secret) {
svg : qrCode.createSvgTag,
}[options.qrType](options.cellSize);
} catch(e) {
return;
return '';
}
}