mirror of
https://github.com/psforever/PSFPortal.git
synced 2026-04-23 21:35:20 +00:00
Perform auth during login
This commit is contained in:
parent
e048d28ad3
commit
20a3bc3a20
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ export async function validate_account(username, password) {
|
|||
if (await bcrypt.compare(password, creds.passhash) === true) {
|
||||
return creds.id;
|
||||
} else {
|
||||
return creds.id;
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue