enable switch to pw totp in account settings

This commit is contained in:
Julian Krauser 2025-05-05 17:43:57 +02:00
parent be22c78372
commit ddb460f8d0
6 changed files with 165 additions and 4 deletions

View file

@ -50,6 +50,7 @@ export async function login(req: Request, res: Response): Promise<any> {
window: 2,
});
} else {
console.log(passedSecret, secret, passedSecret == secret);
valid = passedSecret == secret;
}