diff options
Diffstat (limited to 'app/config/security.yml')
-rw-r--r-- | app/config/security.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/config/security.yml b/app/config/security.yml index 79a07c48..d7d8c12b 100644 --- a/app/config/security.yml +++ b/app/config/security.yml | |||
@@ -8,7 +8,7 @@ security: | |||
8 | 8 | ||
9 | providers: | 9 | providers: |
10 | administrators: | 10 | administrators: |
11 | entity: { class: WallabagCoreBundle:User, property: username } | 11 | entity: { class: WallabagUserBundle:User, property: username } |
12 | fos_userbundle: | 12 | fos_userbundle: |
13 | id: fos_user.user_provider.username | 13 | id: fos_user.user_provider.username |
14 | 14 | ||
@@ -49,6 +49,6 @@ security: | |||
49 | - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 49 | - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
50 | - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 50 | - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
51 | - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } | 51 | - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } |
52 | - { path: ^/forgot-password, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 52 | - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } |
53 | - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 53 | - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
54 | - { path: ^/, roles: ROLE_USER } | 54 | - { path: ^/, roles: ROLE_USER } |