diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index c796737cd..d6e7be561 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -30,6 +30,12 @@ class UserController extends Zend_Controller_Action $identity->reference = $InfosLogin->result->reference; $identity->nbReponses = $InfosLogin->result->nbReponses; $identity->typeScore = $InfosLogin->result->typeScore; + $identity->dateValidation = $InfosLogin->result->dateValidation; + $identity->nombreConnexions = $InfosLogin->result->nombreConnexions; + $identity->dateDerniereConnexion = $InfosLogin->result->dateDerniereConnexion; + $identity->dateDebutCompte = $InfosLogin->result->dateDebutCompte; + $identity->dateFinCompte = $InfosLogin->result->dateFinCompte; + $identity->ip = $_SERVER['REMOTE_ADDR']; $identity->timeout = (!empty($InfosLogin->result->timeout)) ? $InfosLogin->result->timeout : 1800; $identity->time = time() + $identity->timeout;