feat: update session management to prioritize cookie storage and enhance token retrieval logic

This commit is contained in:
estifanos
2026-08-01 07:52:46 +00:00
parent d16d9840ba
commit 5a95358ea0
3 changed files with 7 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ import {
} from "@ema-platform/auth";
import type { AuthUser, CurrentProfile } from "@ema-platform/auth";
configureAuthStorage("ema-portal");
configureAuthStorage("ema-portal", true);
const preloadedAuth = (() => {
const token = authStorage.getToken();