Merge from branch 1.3
This commit is contained in:
commit
2b2d72452c
@ -124,7 +124,7 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
|
|||||||
$year = intval(substr($identity->dateContrat,0,4));
|
$year = intval(substr($identity->dateContrat,0,4));
|
||||||
$dateFinContrat = mktime($hour,$min,$sec,$month,$day,$year);
|
$dateFinContrat = mktime($hour,$min,$sec,$month,$day,$year);
|
||||||
|
|
||||||
if ( $dateFinContrat > time() ) {
|
if ( time() > $dateFinContrat ) {
|
||||||
$request->setModuleName('default')
|
$request->setModuleName('default')
|
||||||
->setControllerName('user')
|
->setControllerName('user')
|
||||||
->setActionName('logout')
|
->setActionName('logout')
|
||||||
|
Loading…
Reference in New Issue
Block a user