Skip to content
Snippets Groups Projects
Commit c1751974 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
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
parent 1f18c059
No related branches found
No related tags found
No related merge requests found
...@@ -20,12 +20,6 @@ class sspmod_preprodwarning_Auth_Process_Warning extends SimpleSAML_Auth_Process ...@@ -20,12 +20,6 @@ class sspmod_preprodwarning_Auth_Process_Warning extends SimpleSAML_Auth_Process
*/ */
public function process(&$state) { public function process(&$state) {
assert('is_array($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. */ /* Save state and redirect. */
$id = SimpleSAML_Auth_State::saveState($state, 'consent:request'); $id = SimpleSAML_Auth_State::saveState($state, 'consent:request');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment