Exemplo n.º 1
0
 /**
  * Adds extra useragent and remote_addr checks to CSRF protections.
  */
 public static function enableOriginCheck()
 {
     self::$doOriginCheck = true;
 }
Exemplo n.º 2
0
 /**
  * Disables extra useragent and remote_addr checks to CSRF protections.
  */
 public static function disableOriginCheck()
 {
     self::$doOriginCheck = false;
 }