From e4fb153b9ae7377043c726705bd1c43115172ce9 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Sat, 28 Aug 2021 23:56:08 +0200
Subject: [PATCH] Fix call to undefined method

---
 modules/exampleauth/lib/Auth/Source/External.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/exampleauth/lib/Auth/Source/External.php b/modules/exampleauth/lib/Auth/Source/External.php
index 2e8830fdf..d369fc713 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.');
         }
 
-- 
GitLab