Skip to content

Commit

Permalink
Remove default overwrites that are useless
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 8, 2015
1 parent 1af5d23 commit b76a235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Component/AuthComponent.php
Expand Up @@ -419,7 +419,7 @@ protected function _unauthorized(Controller $controller) {
} else {
$url = $this->unauthorizedRedirect;
}
$controller->redirect($url, null, true);
$controller->redirect($url);
return false;
}

Expand Down

0 comments on commit b76a235

Please sign in to comment.