mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Revert "Clear cookie before saving user cookie"
This reverts commit ed85a78ba3078936f1a0ef28c91069bd54b2dbd9.
This commit is contained in:
+1
-1
@@ -173,8 +173,8 @@ export const useAuthStore = defineStore('Auth', () => {
|
|||||||
watchState.isFriendsLoaded = false;
|
watchState.isFriendsLoaded = false;
|
||||||
watchState.isFavoritesLoaded = false;
|
watchState.isFavoritesLoaded = false;
|
||||||
notificationStore.notificationInitStatus = false;
|
notificationStore.notificationInitStatus = false;
|
||||||
await webApiService.clearCookies();
|
|
||||||
await updateStoredUser(userStore.currentUser);
|
await updateStoredUser(userStore.currentUser);
|
||||||
|
webApiService.clearCookies();
|
||||||
loginForm.value.lastUserLoggedIn = '';
|
loginForm.value.lastUserLoggedIn = '';
|
||||||
await configRepository.remove('lastUserLoggedIn');
|
await configRepository.remove('lastUserLoggedIn');
|
||||||
// workerTimers.setTimeout(() => location.reload(), 500);
|
// workerTimers.setTimeout(() => location.reload(), 500);
|
||||||
|
|||||||
Reference in New Issue
Block a user