fix: use existing route
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user