Skip to content

Commit

Permalink
Update User.php
Browse files Browse the repository at this point in the history
  • Loading branch information
SocolaDaiCa committed Sep 4, 2023
1 parent 3c510dd commit ac3c705
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,11 @@ public function getRoles(): array
$roles[] = 'ROLE_USER';

$roles[] = 'ROLE_ADMIN';
$roles[] = 'ROLE_ANTISPAM';
// $roles[] = 'ROLE_ANTISPAM';
$roles[] = 'ROLE_DELETE_PACKAGES';
$roles[] = 'ROLE_EDIT_PACKAGES';
$roles[] = 'ROLE_SUPERADMIN';
$roles[] = 'ROLE_UPDATE_PACKAGES';
$roles[] = 'ROLE_USER';

return array_values(array_unique($roles));
}
Expand Down

0 comments on commit ac3c705

Please sign in to comment.