Пример #1
0
 public function beforeAction($action)
 {
     if ('login' == $action->id) {
         $this->enableCsrfValidation = false;
     }
     return parent::beforeAction($action);
 }
Пример #2
0
 public function beforeAction($action)
 {
     $this->enableCsrfValidation = false;
     return parent::beforeAction($action);
 }