Fix TOTP space bug, caused by space inserted by cleavejs

This commit is contained in:
Fabian Stamm
2023-04-15 00:06:06 +02:00
parent dd39ece408
commit 6bcda75634
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
let code: string = "";
function send() {
loginState.useTOTP(id, code);
loginState.useTOTP(id, code.replace(/\s+/g, ""));
}
</script>