Skip to content

Commit

Permalink
Removed the config_ignore_token var as it no longer is used in the co…
Browse files Browse the repository at this point in the history
…re code.
  • Loading branch information
jamesallsup committed Mar 16, 2015
1 parent ece1c00 commit 9d295d3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions upload/admin/controller/common/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ public function check() {
'error/permission'
);

$config_ignore = array();

if ($this->config->get('config_token_ignore')) {
$config_ignore = unserialize($this->config->get('config_token_ignore'));
}

$ignore = array_merge($ignore, $config_ignore);

if (!in_array($route, $ignore) && (!isset($this->request->get['token']) || !isset($this->session->data['token']) || ($this->request->get['token'] != $this->session->data['token']))) {
return new Action('common/login');
}
Expand Down

0 comments on commit 9d295d3

Please sign in to comment.