Commit Graph
3 Commits
Author SHA1 Message Date
ponzischeme89andClaude Sonnet 5 0b1d329f7c Admin console: show the signed-in operator's name, not "Administrator"
The user switcher fell back to "Administrator" whenever /admin/api/status
returned no currentUser. Fresh sign-ins already embed the verified Emby
account name in the session cookie, but a session minted before that field
existed (or one that has not been re-issued since) is valid yet anonymous,
so the fallback showed for ever.

handleAdminConsole now treats a valid-but-anonymous admin session as needing
a fresh sign-in for the SPA shell only — a one-time prompt that fills the
name in, since session renewal preserves whatever the cookie already held.
Asset requests are unaffected, so nothing breaks mid-session.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011wS9Qz3Fkxeu9KPt26hhhx
2026-08-28 23:36:11 +12:00
ponzischeme89 b9374baaf1 0.2.68 2026-08-16 12:13:51 +12:00
ponzischeme89 e528d04b43 0.2.65 - End Credits wiring / Gateway: 0.1.45 - Credits 2026-08-15 21:11:43 +12:00