From c4e341e43d1d5bf9296a792c429fbb752e7c6d95 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 29 Jul 2010 10:41:21 +0000 Subject: [PATCH] authX509: Make the authFailed-function work. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2437 44740490-163a-0410-bde0-09ae8108e29a --- modules/authX509/lib/Auth/Source/X509userCert.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/authX509/lib/Auth/Source/X509userCert.php b/modules/authX509/lib/Auth/Source/X509userCert.php index 3ddd7e411..e7e73dc91 100644 --- a/modules/authX509/lib/Auth/Source/X509userCert.php +++ b/modules/authX509/lib/Auth/Source/X509userCert.php @@ -97,13 +97,10 @@ class sspmod_authX509_Auth_Source_X509userCert extends SimpleSAML_Auth_Source { * @param array &$state Information about the current authentication. */ public function authFailed(&$state) { - $id = SimpleSAML_Auth_State::saveState($state, self::STAGEID); - $params = array('AuthState' => $id); $config = SimpleSAML_Configuration::getInstance(); $t = new SimpleSAML_XHTML_Template($config, 'authX509:X509error.php'); - $t->data['stateparams'] = $params; $t->data['errorcode'] = $state['authX509.error']; $t->show(); -- GitLab