From c17519744be34b199724c023b5a6e1bf02bcfb53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Tue, 13 Jan 2009 12:52:54 +0000 Subject: [PATCH] preprod warning should not assert that the user id exists. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1145 44740490-163a-0410-bde0-09ae8108e29a --- modules/preprodwarning/lib/Auth/Process/Warning.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/preprodwarning/lib/Auth/Process/Warning.php b/modules/preprodwarning/lib/Auth/Process/Warning.php index 4231f8909..9da819313 100644 --- a/modules/preprodwarning/lib/Auth/Process/Warning.php +++ b/modules/preprodwarning/lib/Auth/Process/Warning.php @@ -20,12 +20,6 @@ class sspmod_preprodwarning_Auth_Process_Warning extends SimpleSAML_Auth_Process */ public function process(&$state) { assert('is_array($state)'); - assert('array_key_exists("UserID", $state)'); - assert('array_key_exists("Destination", $state)'); - assert('array_key_exists("entityid", $state["Destination"])'); - assert('array_key_exists("metadata-set", $state["Destination"])'); - assert('array_key_exists("entityid", $state["Source"])'); - assert('array_key_exists("metadata-set", $state["Source"])'); /* Save state and redirect. */ $id = SimpleSAML_Auth_State::saveState($state, 'consent:request'); -- GitLab