mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-03 20:12:59 +00:00
Add files via upload
This commit is contained in:
+2
-2
@@ -118,8 +118,8 @@
|
||||
// Save the token to localStorage
|
||||
localStorage.setItem('token', data.token);
|
||||
|
||||
// Redirect to admin dashboard or home page
|
||||
window.location.href = '/';
|
||||
// Redirect to admin dashboard
|
||||
window.location.href = '/admin/dashboard';
|
||||
|
||||
} catch (error) {
|
||||
console.error('Login error:', error);
|
||||
|
||||
Reference in New Issue
Block a user