Update Design

This commit is contained in:
2025-09-03 12:10:35 +02:00
parent 3b85aa8cd4
commit 1d3d076a1d
5 changed files with 279 additions and 87 deletions

View File

@@ -244,7 +244,7 @@
async function checkAuth() {
const { data: { session } } = await supabase.auth.getSession();
if (session) {
window.location.href = 'dashboard.html';
window.location.href = '/';
}
}
@@ -307,7 +307,7 @@
} else {
showMessage('Login successful! Redirecting...', 'success');
setTimeout(() => {
window.location.href = 'dashboard.html';
window.location.href = '/';
}, 1000);
}
} catch (error) {
@@ -353,7 +353,7 @@
} else {
showMessage('Registration successful! Redirecting...', 'success');
setTimeout(() => {
window.location.href = 'dashboard.html';
window.location.href = '/';
}, 1000);
}
}