Correction appel url localauth
This commit is contained in:
parent
78ffd58568
commit
767da50d89
@ -77,7 +77,7 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
|
|||||||
$session->url = $_SERVER['REQUEST_URI'];
|
$session->url = $_SERVER['REQUEST_URI'];
|
||||||
|
|
||||||
$layout = Zend_Layout::getMVCInstance();
|
$layout = Zend_Layout::getMVCInstance();
|
||||||
if ( !$layout->isEnabled() && $session->url!='/localauth') {
|
if ( !$layout->isEnabled() && substr($session->url,0,10)!='/localauth') {
|
||||||
echo "Identification incorrect ou périmé.";
|
echo "Identification incorrect ou périmé.";
|
||||||
} else {
|
} else {
|
||||||
$this->_response->setRedirect('/user/login')->sendResponse();
|
$this->_response->setRedirect('/user/login')->sendResponse();
|
||||||
|
Loading…
Reference in New Issue
Block a user