Skip to content

Commit c175197

Browse files
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
1 parent 1f18c05 commit c175197

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

modules/preprodwarning/lib/Auth/Process/Warning.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ class sspmod_preprodwarning_Auth_Process_Warning extends SimpleSAML_Auth_Process
2020
*/
2121
public function process(&$state) {
2222
assert('is_array($state)');
23-
assert('array_key_exists("UserID", $state)');
24-
assert('array_key_exists("Destination", $state)');
25-
assert('array_key_exists("entityid", $state["Destination"])');
26-
assert('array_key_exists("metadata-set", $state["Destination"])');
27-
assert('array_key_exists("entityid", $state["Source"])');
28-
assert('array_key_exists("metadata-set", $state["Source"])');
2923

3024
/* Save state and redirect. */
3125
$id = SimpleSAML_Auth_State::saveState($state, 'consent:request');

0 commit comments

Comments
 (0)