Minor redirect updates

This commit is contained in:
2025-01-26 19:05:53 -06:00
parent 534862d2bf
commit 04f9b0c117
+1 -1
View File
@@ -27,7 +27,7 @@
if (response.ok) {
successMessage = 'Login successful! Redirecting...';
setTimeout(() => {
location.reload(); // Reload the page to reflect the logged-in state
window.location.href = redirectUrl;
}, 2000); // Add slight delay to show success message
} else {
errorMessage = 'Login failed: Invalid email or password.';