Skip to content
Snippets Groups Projects
Commit 56722ff9 authored by Jaime Perez's avatar Jaime Perez
Browse files

aselect: bugfix (do not try to throw a state-aware exception when no state is available!).

parent 385a3c35
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
function check_credentials() { function check_credentials() {
if (!array_key_exists('ssp_state', $_REQUEST)) if (!array_key_exists('ssp_state', $_REQUEST))
SimpleSAML_Auth_State::throwException($state, new SimpleSAML_Error_Exception("Missing ssp_state parameter")); throw new SimpleSAML_Error_Exception("Missing ssp_state parameter");
$id = $_REQUEST['ssp_state']; $id = $_REQUEST['ssp_state'];
// sanitize the input // sanitize the input
......
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