mteddy
(mteddy@126.com)
1
When I set "enableCsrfValidation=true" in config/main.php, and set "enableCsrfValidation=false" in mobileModules.php setComponents option.
I find the action in mobileModules (form submit) still need token verification.
How can I set enableCsrfValidation=false in some modules?
My english is poor,and holp you can understand.
mteddy
(mteddy@126.com)
2
in main.php
'request'=>array(
'enableCsrfValidation'=>true,
),
in mobileModule.php
'request'=>array(
'enableCsrfValidation'=>false,
)
form submit to modules/mobile/testController.php some action get a error:
请求错误
CSRF token 无法被验证.