Release Healer Man 0.1.5

This commit is contained in:
phenom
2026-08-18 16:22:19 -04:00
parent f4c9cf356c
commit 55cfd43d66
62 changed files with 3030 additions and 153 deletions
+5 -1
View File
@@ -374,7 +374,11 @@ export function restoreSession(storage: StorageLike | null = browserSessionStora
if (session.kind === "account"
&& typeof session.accessToken !== "string"
&& !readDatabase().accounts.some((account) => account.id === session.ownerId)) return null;
return session as PlayerSession;
return {
...(session as PlayerSession),
// Session storage is client-controlled. /api/me re-derives online roles.
roles: [],
};
} catch {
return null;
}