Perform auth during login

This commit is contained in:
Chord 2019-12-30 13:50:45 -05:00
parent e048d28ad3
commit 20a3bc3a20

View file

@ -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) {