spaces
This commit is contained in:
parent
ca6b1383bd
commit
d546b2587b
@ -49,12 +49,13 @@ class Scores_AuthAdapter implements Zend_Auth_Adapter_Interface
|
|||||||
$identity->acceptationCGU = $InfosLogin->result->acceptationCGU;
|
$identity->acceptationCGU = $InfosLogin->result->acceptationCGU;
|
||||||
$identity->ip = $adressIp;
|
$identity->ip = $adressIp;
|
||||||
$identity->modeEdition = false;
|
$identity->modeEdition = false;
|
||||||
|
|
||||||
$timeout = (!empty($InfosLogin->result->timeout)) ? $InfosLogin->result->timeout : $this->_timeout;
|
$timeout = (!empty($InfosLogin->result->timeout)) ? $InfosLogin->result->timeout : $this->_timeout;
|
||||||
$identity->timeout = $timeout;
|
$identity->timeout = $timeout;
|
||||||
|
|
||||||
$identity->time = time() + $timeout;
|
$identity->time = time() + $timeout;
|
||||||
|
|
||||||
$lang = in_array($InfosLogin->result->lang,array('fr','en')) ? $InfosLogin->result->lang : 'fr';
|
$lang = in_array($InfosLogin->result->lang,array('fr','en')) ? $InfosLogin->result->lang : 'fr';
|
||||||
$identity->lang = $lang;
|
$identity->lang = $lang;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user