mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-30 01:48:13 +00:00
feat: update session management to prioritize cookie storage and enhance token retrieval logic
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user