Merge from branch 1.3

This commit is contained in:
Michael RICOIS 2012-12-19 17:07:19 +00:00
commit 2b2d72452c

View File

@ -124,7 +124,7 @@ class Application_Controller_Plugin_Auth extends Zend_Controller_Plugin_Abstract
$year = intval(substr($identity->dateContrat,0,4));
$dateFinContrat = mktime($hour,$min,$sec,$month,$day,$year);
if ( $dateFinContrat > time() ) {
if ( time() > $dateFinContrat ) {
$request->setModuleName('default')
->setControllerName('user')
->setActionName('logout')