Skip to content
Snippets Groups Projects
Commit aec9cb20 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

change state id on preprodwarning...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1147 44740490-163a-0410-bde0-09ae8108e29a
parent 237c156e
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class sspmod_preprodwarning_Auth_Process_Warning extends SimpleSAML_Auth_Process
assert('is_array($state)');
/* Save state and redirect. */
$id = SimpleSAML_Auth_State::saveState($state, 'consent:request');
$id = SimpleSAML_Auth_State::saveState($state, 'warning:request');
$url = SimpleSAML_Module::getModuleURL('preprodwarning/showwarning.php');
SimpleSAML_Utilities::redirect($url, array('StateId' => $id));
}
......
......@@ -15,7 +15,7 @@ if (!array_key_exists('StateId', $_REQUEST)) {
}
$id = $_REQUEST['StateId'];
$state = SimpleSAML_Auth_State::loadState($id, 'consent:request');
$state = SimpleSAML_Auth_State::loadState($id, 'warning:request');
if (array_key_exists('yes', $_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