diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index 45a1f6191..b4a7df562 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -159,7 +159,7 @@ class UserController extends Zend_Controller_Action if (!empty($action) || $action!='new') { Zend_Registry::get('firebug')->info('Lecture des informations'); - if ( !empty($login) && (!$isProfilUpdated || !$isPasswordUpdated) ) { + if ( !empty($login) && !$isProfilUpdated && $isPasswordUpdated ) { Zend_Registry::get('firebug')->info('getInfosLogin'); $reponse = $ws->getInfosLogin($login); $this->view->assign('options', $reponse->result); @@ -172,7 +172,6 @@ class UserController extends Zend_Controller_Action $this->view->assign('droits', explode(' ', $identity->droits)); $this->view->assign('droitsClients', explode(' ', $identity->droitsClients)); } - $this->view->assign('loginNew', ''); $this->view->assign('action', 'update'); $this->view->assign('pref', explode(' ',$identity->pref));