diff --git a/Classes/Typo3/Service/ShibbolethAuthenticationService.php b/Classes/Typo3/Service/ShibbolethAuthenticationService.php index 4d8ccf9..7619d0a 100644 --- a/Classes/Typo3/Service/ShibbolethAuthenticationService.php +++ b/Classes/Typo3/Service/ShibbolethAuthenticationService.php @@ -50,7 +50,7 @@ public function init(): bool if (empty($this->extensionConfiguration['displayName'])) { $this->extensionConfiguration['displayName'] = 'displayName'; } - $this->remoteUser = $_SERVER[$this->extensionConfiguration['remoteUser']]; + $this->remoteUser = $_SERVER[$this->extensionConfiguration['remoteUser']] ?? null; return parent::init(); }