summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/modules/fbgui/controllers/AuthController.php4
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 {