This commit is contained in:
@@ -35,6 +35,7 @@ form.addEventListener("submit", async (event) => {
|
|||||||
window.location.href = "dashboard.html"
|
window.location.href = "dashboard.html"
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
errorMessage.textContent = "Server nicht erreichbar"
|
console.error("Login error:", err)
|
||||||
|
res.status(503).json({ message: "Server error during login" })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user