瀏覽代碼

Controlador de excepciones

Gabriel Gosparo 6 年之前
父節點
當前提交
a870ff1548
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/config/security.yml

+ 1 - 0
app/config/security.yml

@@ -29,6 +29,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