X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fsecurity.yml;h=48fbb553caef9e0fa99a54bcae373fd73affdfd4;hb=3b68f6ca727f52f9dc84fa1a134c092b44c49103;hp=796dc361e1ea202e67cd3f610f283f81502d1020;hpb=98869090f6d113fa47dc80f9941749840c1442e8;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/security.yml b/app/config/security.yml index 796dc361..48fbb553 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -6,13 +6,14 @@ security: ROLE_ADMIN: ROLE_USER ROLE_SUPER_ADMIN: [ ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH ] + # /!\ This list is modified in WallabagUserBundle when LDAP is enabled providers: administrators: entity: class: WallabagUserBundle:User property: username fos_userbundle: - id: fos_user.user_provider.username + id: fos_user.user_provider.username_email # the main part of the security, where you can set up firewalls # for specific sections of your app @@ -36,6 +37,7 @@ security: pattern: ^/login$ anonymous: ~ + # /!\ This section is modified in WallabagUserBundle when LDAP is enabled secured_area: pattern: ^/ form_login: