Fix TOTP space bug, caused by space inserted by cleavejs
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
let code: string = "";
|
||||
|
||||
function send() {
|
||||
loginState.useTOTP(id, code);
|
||||
loginState.useTOTP(id, code.replace(/\s+/g, ""));
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user