Misc unrelated updates

This commit is contained in:
Codex Agent
2026-01-12 10:31:31 +01:00
parent 2cb5171420
commit b23331d069
40 changed files with 433 additions and 267 deletions

View File

@@ -12,7 +12,7 @@ class TenantAdminAuthController extends Controller
$user = Auth::user();
// Allow only tenant_admin and super_admin
if ($user && in_array($user->role, ['tenant_admin', 'super_admin'])) {
if ($user && in_array($user->role, ['tenant_admin', 'super_admin', 'superadmin'], true)) {
return view('admin');
}