From 352eedb13607d9e48cc118ec7777f1c56a9eddc7 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 11 Dec 2022 06:21:08 +0100 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/pull/6701 --- app/Support/Authentication/RemoteUserGuard.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Support/Authentication/RemoteUserGuard.php b/app/Support/Authentication/RemoteUserGuard.php index 97c44c953e..df0315cffd 100644 --- a/app/Support/Authentication/RemoteUserGuard.php +++ b/app/Support/Authentication/RemoteUserGuard.php @@ -70,8 +70,6 @@ class RemoteUserGuard implements Guard $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.');