Example #1
0
 public function getTokenKey($numberBytes = 13)
 {
     $key = '$PHALCON/CSRF/KEY$';
     $tokenKey = \Phalcon\DI::getDefault()->get('session')->{$key};
     if ($tokenKey) {
         return $tokenKey;
     }
     return parent::getTokenKey($numberBytes);
 }
Example #2
0
 public function getTokenKey($numberBytes = null)
 {
     return parent::getTokenKey($numberBytes);
 }
Example #3
0
 public function getTokenKey()
 {
     return parent::getTokenKey();
 }