Mise en place de la redirection au logout
This commit is contained in:
parent
b9b5c774e5
commit
d431b01981
@ -505,6 +505,10 @@ class UserController extends Zend_Controller_Action
|
||||
*/
|
||||
public function logoutAction()
|
||||
{
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if ( $auth->hasIdentity() ) {
|
||||
$this->identity = $auth->getIdentity();
|
||||
}
|
||||
Zend_Auth::getInstance()->clearIdentity();
|
||||
$session = new Zend_Session_Namespace('wcheck');
|
||||
$session->unsetAll();
|
||||
@ -518,12 +522,14 @@ class UserController extends Zend_Controller_Action
|
||||
$this->view->assign('ajax', $ajax);
|
||||
|
||||
$refresh = 5;
|
||||
|
||||
if($this->identity->idClient==195){//Redirection spéciale inextenso
|
||||
$url="http://inexweb.fr";
|
||||
}else{
|
||||
$url = 'http://'.$_SERVER['SERVER_NAME'].$this->view->url(array(
|
||||
'controller' => 'user',
|
||||
'action' => 'login',
|
||||
), 'default', true);
|
||||
|
||||
}
|
||||
$this->view->assign('url', $url);
|
||||
|
||||
if ( $ajax == 0 ) {
|
||||
|
BIN
public/documents/inextenso_tarifs.pdf
Normal file
BIN
public/documents/inextenso_tarifs.pdf
Normal file
Binary file not shown.
BIN
public/themes/default/images/partner/inextenso_bandeau_bas.jpg
Normal file
BIN
public/themes/default/images/partner/inextenso_bandeau_bas.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue
Block a user