fix(auth): useAuth() hook in AppShell/StartLayout + is_system_admin in login response

This commit is contained in:
Agent Zero
2026-08-16 23:26:59 +02:00
parent daa7fe805a
commit f265eef5ae
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -82,6 +82,7 @@ async def login(
"tenant_id": str(tenant.id),
"tenant_name": tenant.name,
"csrf_token": csrf_token,
"is_system_admin": user.is_system_admin,
},
)
resp.set_cookie(