changed some navigation

This commit is contained in:
2026-01-01 01:33:21 +01:00
parent a5757d3bf9
commit ba07011800
12 changed files with 46 additions and 34 deletions

View File

@@ -1038,7 +1038,7 @@ async function performLogin(userId, password = null) {
const data = await res.json();
localStorage.setItem('token', data.token);
window.location.href = '/dashboard';
window.location.href = '/profile';
} catch (err) {
console.error('Login error', err);
showUserToast(err.message || 'Login failed', 'error');