This commit is contained in:
Benjamin Toby
2025-01-14 14:45:32 +01:00
parent 20754d5cae
commit 09bfbd4214
3 changed files with 12 additions and 1 deletions
+4
View File
@@ -74,6 +74,10 @@ function apiLoginUser(_a) {
isPasswordCorrect = true;
}
else if ((foundUser === null || foundUser === void 0 ? void 0 : foundUser[0]) && !email_login) {
if (debug) {
console.log("apiLoginUser:hashedPassword:", hashedPassword);
console.log("apiLoginUser:foundUser[0].password:", foundUser[0].password);
}
isPasswordCorrect = hashedPassword === foundUser[0].password;
}
else if (foundUser &&