Skip to content

Commit

Permalink
Dev Enabled CSRF protection by default
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jul 22, 2013
1 parent 15ba6da commit db924b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/core/LSYii_Application.php
Expand Up @@ -109,7 +109,7 @@ public function __construct($config = null)
'getSurveys_json',
'remotecontrol'
),
'enableCsrfValidation'=>false, // Enable to activate CSRF protection
'enableCsrfValidation'=>true, // CSRF protection
'enableCookieValidation'=>false // Enable to activate cookie protection
));

Expand Down

0 comments on commit db924b5

Please sign in to comment.