Browse Source

Enable csrf for github login

Jordi Boggiano 9 năm trước cách đây
mục cha
commit
4b824ef39a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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: ~