fix(auth): useAuth() hook in AppShell/StartLayout + is_system_admin in login response
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user