Skip to content

Commit aec9cb2

Browse files
change state id on preprodwarning...
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1147 44740490-163a-0410-bde0-09ae8108e29a
1 parent 237c156 commit aec9cb2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function process(&$state) {
2222
assert('is_array($state)');
2323

2424
/* Save state and redirect. */
25-
$id = SimpleSAML_Auth_State::saveState($state, 'consent:request');
25+
$id = SimpleSAML_Auth_State::saveState($state, 'warning:request');
2626
$url = SimpleSAML_Module::getModuleURL('preprodwarning/showwarning.php');
2727
SimpleSAML_Utilities::redirect($url, array('StateId' => $id));
2828
}

modules/preprodwarning/www/showwarning.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616

1717
$id = $_REQUEST['StateId'];
18-
$state = SimpleSAML_Auth_State::loadState($id, 'consent:request');
18+
$state = SimpleSAML_Auth_State::loadState($id, 'warning:request');
1919

2020

2121
if (array_key_exists('yes', $_REQUEST)) {

0 commit comments

Comments
 (0)