fix: use existing route

This commit is contained in:
Björn Fromme
2024-01-26 11:55:21 +01:00
parent e5d92cc0e1
commit bd3b3688c5
+1 -1
View File
@@ -180,7 +180,7 @@ class User implements UserInterface, TimestampableEntityInterface
if ($this->hasRole('ROLE_ADMIN')) {
return 'app_admin_index';
} elseif ($this->hasRole('ROLE_MANAGER')) {
return 'app_manager_index';
return 'app_admin_index';
} elseif ($this->hasRole('ROLE_HOUSE_MANAGER')) {
return 'app_house_manager_index';
} else {