From fe724fa1b8a04df5879fd226f64a2145de355197 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 1 Jan 2023 14:50:32 +0100 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/6788 --- app/Support/Authentication/RemoteUserGuard.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Support/Authentication/RemoteUserGuard.php b/app/Support/Authentication/RemoteUserGuard.php index 356b7acfba..2aaaaa5d05 100644 --- a/app/Support/Authentication/RemoteUserGuard.php +++ b/app/Support/Authentication/RemoteUserGuard.php @@ -81,7 +81,6 @@ class RemoteUserGuard implements Guard // Get the user identifier from $_SERVER or apache filtered headers $header = config('auth.guard_header', 'REMOTE_USER'); $userID = request()->server($header) ?? apache_request_headers()[$header] ?? null; - $userID = 'james@firefly'; if (null === $userID) { Log::error(sprintf('No user in header "%s".', $header)); throw new FireflyException('The guard header was unexpectedly empty. See the logs.');