Browse files

Corrects bad merge.

Bad merge: d161b21

Fixes #3938.
  • Loading branch information...
1 parent 933013f commit a70e004cda6dd4f87d16d2bba21c48d63127eacf @Phally Phally committed Jul 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Component/AuthComponent.php
View
2 lib/Cake/Controller/Component/AuthComponent.php
@@ -352,7 +352,7 @@ protected function _unauthenticated(Controller $controller) {
if (!$controller->request->is('ajax')) {
$this->flash($this->authError);
- $this->Session->write('Auth.redirect', $controller->request->here());
+ $this->Session->write('Auth.redirect', $controller->request->here(false));
$controller->redirect($this->loginAction);
return false;
}

0 comments on commit a70e004

Please sign in to comment.