summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-02-27 12:09:41 +0100
committerMichael Neves2012-02-27 12:09:41 +0100
commitaa9888790a64a727db57dbb4ad06c40980640514 (patch)
treedcbf3bcd5e37a68683f3349c2059bbea6ce19eff
parentcerterror added (diff)
downloadpbs2-aa9888790a64a727db57dbb4ad06c40980640514.tar.gz
pbs2-aa9888790a64a727db57dbb4ad06c40980640514.tar.xz
pbs2-aa9888790a64a727db57dbb4ad06c40980640514.zip
bug
-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 {