From 169ed5963cd3b7cae4f1162135e16d535346eead Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Fri, 16 Nov 2018 11:16:56 +0100
Subject: [PATCH] Use strict comparisons

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

diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php
index bba48eee7..e1bb49424 100644
--- a/modules/saml/lib/Auth/Source/SP.php
+++ b/modules/saml/lib/Auth/Source/SP.php
@@ -253,7 +253,7 @@ class SP extends Source
         $requesterID = [];
 
         /* Only check for real info for Scoping element if we are going to send Scoping element */
-        if ($this->disable_scoping != true && $idpMetadata->getBoolean('disable_scoping', false) != true) {
+        if ($this->disable_scoping !== true && $idpMetadata->getBoolean('disable_scoping', false) !== true) {
             if (isset($state['saml:IDPList'])) {
                 $IDPList = $state['saml:IDPList'];
             }
-- 
GitLab