Esempio n. 1
0
 protected function _checkCsrf($action)
 {
     if (strtolower($action) == 'login') {
         return;
     }
     return parent::_checkCsrf($action);
 }
Esempio n. 2
0
 protected function _checkCsrf($action)
 {
     if (strtolower($action) == 'thanks') {
         return;
     }
     parent::_checkCsrf($action);
 }
Esempio n. 3
0
 /**
  * Disable CSRF checking for language selection.
  */
 protected function _checkCsrf($action)
 {
     if (strtolower($action) == 'selectlang') {
         // No CSRF token generated in AJAX-Chat template system...
         return;
     }
     parent::_checkCsrf($action);
 }
Esempio n. 4
0
 /**
  * Disable CSRF checking for the upgrade purchase callback method.
  */
 protected function _checkCsrf($action)
 {
     if (strtolower($action) == 'upgradepurchase') {
         // may be coming from external payment gateway
         return;
     }
     parent::_checkCsrf($action);
 }