Skip to content

A self-hosted media server and file management system

fix: opening auth only pages in a new tab redirects to login for no reason

aminnausin5e3de84f2b49
diff --git a/resources/js/stores/AuthStore.ts b/resources/js/stores/AuthStore.ts
index 8cec4ec9..80e44462 100644
--- a/resources/js/stores/AuthStore.ts
+++ b/resources/js/stores/AuthStore.ts
@@ -23,7 +23,6 @@ export const useAuthStore = defineStore('Auth', () => {
*/
if (userData.value?.id && !force) return true; // Bad practice? Should I always check?
- if (isLoadingUserData.value) return false;
if (userFetchPromise) return userFetchPromise;
userFetchPromise = (async () => {