瀏覽代碼

Enable csrf for github login

Jordi Boggiano 9 年之前
父節點
當前提交
4b824ef39a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/config/config.yml

+ 2 - 0
app/config/config.yml

@@ -100,5 +100,7 @@ hwi_oauth:
             type:          github
             client_id:     %github.client_id%
             client_secret: %github.client_secret%
+            options:
+                csrf: true
 
 nelmio_solarium: ~