mirror of
https://github.com/ceratic/project_vollidioten_website.git
synced 2026-05-14 00:16:47 +02:00
Refactor CityProfile and PlayerProfile components for improved data fetching and error handling; add NPC management modals for banner, gallery, and logo with enhanced user experience and error feedback.
This commit is contained in:
@@ -30,8 +30,9 @@ class AuthService {
|
||||
}
|
||||
|
||||
// Redirects to Discord OAuth
|
||||
async login(): Promise<void> {
|
||||
window.location.href = `${API_URL}/auth/discord`;
|
||||
async login(rememberMe: boolean = false): Promise<void> {
|
||||
const rememberParam = rememberMe ? '?remember_me=true' : '';
|
||||
window.location.href = `${API_URL}/auth/discord${rememberParam}`;
|
||||
}
|
||||
|
||||
logout() {
|
||||
|
||||
Reference in New Issue
Block a user