Fix: Add central users table and correct login redirection
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m38s

- Copy users and roles migrations to central database context
- Redirect central domain root to /admin/login
- Fix SuperAdminSeeder to include required role_id
This commit is contained in:
Cauê Faleiros
2026-02-03 16:39:35 -03:00
parent 2fcc84c3c7
commit afdda2dab0
5 changed files with 77 additions and 4 deletions

View File

@@ -15,8 +15,8 @@ Route::get('/debug-db', function () {
});
Route::get('/', function () {
// Redirect central domain to Super Admin
return redirect()->route('super-admin.tenants.index');
// Redirect central domain to Admin Login
return redirect('/admin/login');
});
// Super Admin Routes