From 420d7071bd6ebbdc8a4641542aefa026435814a4 Mon Sep 17 00:00:00 2001 From: gregcorbett Date: Thu, 23 Nov 2023 15:38:22 +0000 Subject: [PATCH] Whitespace Fixes --- lib/Authentication/AuthTokens/ShibAuthToken.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Authentication/AuthTokens/ShibAuthToken.php b/lib/Authentication/AuthTokens/ShibAuthToken.php index af6f9a9a2..7408ee0ce 100644 --- a/lib/Authentication/AuthTokens/ShibAuthToken.php +++ b/lib/Authentication/AuthTokens/ShibAuthToken.php @@ -79,11 +79,9 @@ public function getDetails() { public function getPrinciple() { return $this->principal; } - - - + private function getAttributesInitToken(){ - $hostname = $_SERVER['HTTP_HOST']; // don't use $_SERVER['SERVER_NAME'] as this don't support DNS + $hostname = $_SERVER['HTTP_HOST']; // don't use $_SERVER['SERVER_NAME'] as this don't support DNS // specify location of the Shib Logout handler \Factory::$properties['LOGOUTURL'] = 'https://'.$hostname.'/Shibboleth.sso/Logout'; $idp = isset($_SERVER['Shib-Identity-Provider']) ? $_SERVER['Shib-Identity-Provider'] : '';