diff options
author | Michael Neves | 2012-02-27 12:09:41 +0100 |
---|---|---|
committer | Michael Neves | 2012-02-27 12:09:41 +0100 |
commit | aa9888790a64a727db57dbb4ad06c40980640514 (patch) | |
tree | dcbf3bcd5e37a68683f3349c2059bbea6ce19eff | |
parent | certerror added (diff) | |
download | pbs2-aa9888790a64a727db57dbb4ad06c40980640514.tar.gz pbs2-aa9888790a64a727db57dbb4ad06c40980640514.tar.xz pbs2-aa9888790a64a727db57dbb4ad06c40980640514.zip |
bug
-rw-r--r-- | application/modules/fbgui/controllers/AuthController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/fbgui/controllers/AuthController.php b/application/modules/fbgui/controllers/AuthController.php index 5841356..b39d899 100644 --- a/application/modules/fbgui/controllers/AuthController.php +++ b/application/modules/fbgui/controllers/AuthController.php @@ -32,6 +32,8 @@ class Fbgui_AuthController extends Zend_Controller_Action { $certificatemapper = new Application_Model_CertificateMapper(); $certificate = $certificatemapper->findBy(array('serial' => $serial, 'issuerdn' => $issuerdn)); if(isset($certificate)){ + print_a($certificate); + print_a(time()); if (!$certificate->getRevoked() && !$certificate->getGuestcert() && ($certificate->getExpiredate() - time()) > 0){ $person = $this->personmapper->find($certificate->getPersonID()); $date = new DateTime(); @@ -41,7 +43,7 @@ class Fbgui_AuthController extends Zend_Controller_Action { return; } } - $this->_redirect('/fbgui/index/error/certresult/forbidden'); +// $this->_redirect('/fbgui/index/error/certresult/forbidden'); } else { |