diff --git a/modules/preprodwarning/lib/Auth/Process/Warning.php b/modules/preprodwarning/lib/Auth/Process/Warning.php index 9da81931381ab4bb784f49fcc345f73d6f15fab8..2c03d558ccd89c1ff1984f407cd6d57184a05986 100644 --- a/modules/preprodwarning/lib/Auth/Process/Warning.php +++ b/modules/preprodwarning/lib/Auth/Process/Warning.php @@ -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)); } diff --git a/modules/preprodwarning/www/showwarning.php b/modules/preprodwarning/www/showwarning.php index e73be044abb0165faf991112f5829972612b245e..d8db6456098bc8323af431fd49ab195f2c27292a 100644 --- a/modules/preprodwarning/www/showwarning.php +++ b/modules/preprodwarning/www/showwarning.php @@ -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)) {