1
0
Fork 0

Make TOTP key requirements more lax, closes #13.

This commit is contained in:
Kitteh 2021-04-18 10:44:24 +01:00
parent 3748a2ebbd
commit 37dba200ac

View file

@ -73,7 +73,7 @@ export class NewTOTPPage extends Page {
let formData = new FormData(totpForm);
let parms = {
url: formData.get("uri"),
key: formData.get("key"),
key: formData.get("key").replaceAll("-", "").replaceAll(" ", "").toUpperCase(),
name: formData.get("name"),
generate: false
};