refactored auth for JWTs, completed TOTP/2FA implementation, added endpoints to change display name and password
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user