Преглед изворни кода

Merged in IKGabriel/securityyml-edited-online-with-bitbucket-1538745232389 (pull request #13)

Controlador de excepciones
Gabriel Gosparo пре 6 година
родитељ
комит
bdd0b44d89
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/config/security.yml

+ 1 - 0
app/config/security.yml

@@ -38,6 +38,7 @@ security:
                 target: /
                 success_handler: base_admin.security.logout.handler
             anonymous: true
+            access_denied_handler: kernel.handler.access_denied_handler
             # HWIOAuthBundle + BaseOAuthBundle Configuration
             oauth:
                 login_path: /login