diff --git a/modules/exampleauth/lib/Auth/Source/External.php b/modules/exampleauth/lib/Auth/Source/External.php index 2e8830fdf688ab2860df457e08a72c0d2723fb34..d369fc71348def32ee15b3d788ca20115add94a0 100644 --- a/modules/exampleauth/lib/Auth/Source/External.php +++ b/modules/exampleauth/lib/Auth/Source/External.php @@ -195,7 +195,7 @@ class External extends Auth\Source * First we need to restore the $state-array. We should have the identifier for * it in the 'State' request parameter. */ - if (!$request->has('State')) { + if (!$request->query->has('State')) { throw new Error\BadRequest('Missing "State" parameter.'); }