issue #0001547 : Use method getLang from class Utilisateur
This commit is contained in:
parent
d2d043f7c1
commit
3a8d708551
@ -40,9 +40,8 @@ class UserController extends Zend_Controller_Action
|
||||
$InfosLogin->result->timeout : 1800;
|
||||
$identity->time = time() + $identity->timeout;
|
||||
$identity->modeEdition = false;
|
||||
$identity->acceptationCGU = $InfosLogin->result->acceptationCGU;
|
||||
$lang = in_array($InfosLogin->result->lang,array('fr','en')) ? $InfosLogin->result->lang : 'fr';
|
||||
$identity->lang = $lang;
|
||||
$identity->acceptationCGU = $InfosLogin->result->acceptationCGU;
|
||||
$identity->lang = $utilisateur->getLang();
|
||||
$identity->browser = $utilisateur->getBrowserInfo();
|
||||
return $identity;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user