changed some navigation
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user