refactored auth for JWTs, completed TOTP/2FA implementation, added endpoints to change display name and password

This commit is contained in:
2026-04-01 19:53:48 +01:00
parent 24fe3ef543
commit a0e9244d6a
13 changed files with 484 additions and 127 deletions
+3 -3
View File
@@ -124,9 +124,9 @@
successMessage.classList.add("show");
submitButton.innerHTML = "Logged in!!";
setTimeout(() => {
window.location.replace('/chat');
}, 1000);
// setTimeout(() => {
// window.location.replace('/chat');
// }, 1000);
} else {
const error = await response.text();
throw new Error(error || "Login failed");