enable switch to pw totp in account settings
This commit is contained in:
parent
be22c78372
commit
ddb460f8d0
6 changed files with 165 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue