Correction pour enregistrement utilisateur
This commit is contained in:
parent
204833adec
commit
5a070a8157
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user