Make TOTP key requirements more lax, closes #13.
This commit is contained in:
parent
3748a2ebbd
commit
37dba200ac
|
@ -73,7 +73,7 @@ export class NewTOTPPage extends Page {
|
||||||
let formData = new FormData(totpForm);
|
let formData = new FormData(totpForm);
|
||||||
let parms = {
|
let parms = {
|
||||||
url: formData.get("uri"),
|
url: formData.get("uri"),
|
||||||
key: formData.get("key"),
|
key: formData.get("key").replaceAll("-", "").replaceAll(" ", "").toUpperCase(),
|
||||||
name: formData.get("name"),
|
name: formData.get("name"),
|
||||||
generate: false
|
generate: false
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue