]> Raphaël G. Git Repositories - userbundle/commitdiff
Use group name instead of role
authorRaphaël Gertz <git@rapsys.eu>
Sun, 3 Nov 2024 01:08:20 +0000 (02:08 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 3 Nov 2024 01:08:20 +0000 (02:08 +0100)
DependencyInjection/Configuration.php

index 12088ae82bac8f9b33d67152b518cdde4e9cdba6..cdceea07bffc52cd485fd054b557fcb6b821794f 100644 (file)
@@ -39,7 +39,7 @@ class Configuration implements ConfigurationInterface {
                                'user' => 'Rapsys\\UserBundle\\Entity\\User'
                        ],
                        'default' => [
                                'user' => 'Rapsys\\UserBundle\\Entity\\User'
                        ],
                        'default' => [
-                               'admin' => 'ROLE_ADMIN',
+                               'admin' => 'Admin',
                                'civility' => 'Mister',
                                'languages' => [
                                        'en_gb' => 'English'
                                'civility' => 'Mister',
                                'languages' => [
                                        'en_gb' => 'English'