Correction du logout pour la reconnection.

This commit is contained in:
Damien LASSERRE 2012-02-15 10:47:58 +00:00
parent 8d7fb98111
commit 8677f04e5a

View File

@ -49,7 +49,7 @@ class UserController extends Libs_Controller
$url = $session->url;
}
}
if (!empty($url) && $url!='/user/login' && $url!='/localauth' && $url!='/favicon.ico'){
if (!empty($url) && $url!='/user/login' && $url!='/localauth' && $url != '/user/logout' && $url!='/favicon.ico'){
$this->_redirect($url);
}
$this->_redirect('/');