Update src/backend/database/routes/users.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Karmaa
2025-10-07 19:58:25 -05:00
committed by GitHub
parent 8883c657c2
commit 37a2f7013d

View File

@@ -858,10 +858,11 @@ router.post("/login", async (req, res) => {
.json({ error: "Password authentication is currently disabled" });
}
} catch (e) {
authLogger.warn("Failed to check password login status", {
authLogger.error("Failed to check password login status", {
operation: "login_check",
error: e,
});
return res.status(500).json({ error: "Failed to check login status" });
}
try {