Browse Source

Merged in IKGabriel/securityyml-edited-online-with-bitbucket-1538745309002 (pull request #45)

Controlador de excepciones
Gabriel Gosparo 6 năm trước cách đây
mục cha
commit
3af94058c5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/config/security.yml

+ 1 - 1
app/config/security.yml

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