Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Also pick email address from apache filtered headers
Johannes Zellner702f2c3146d5
diff --git a/app/Support/Authentication/RemoteUserGuard.php b/app/Support/Authentication/RemoteUserGuard.phpindex c77435c832..08b85e5c25 100644--- a/app/Support/Authentication/RemoteUserGuard.php+++ b/app/Support/Authentication/RemoteUserGuard.php@@ -81,7 +81,7 @@ class RemoteUserGuard implements Guard$header = config('auth.guard_email');if (null !== $header) {- $emailAddress = (string) (request()->server($header) ?? null);+ $emailAddress = (string) (request()->server($header) ?? apache_request_headers()[$header] ?? null);$preference = app('preferences')->getForUser($retrievedUser, 'remote_guard_alt_email');if (null !== $emailAddress && null === $preference && $emailAddress !== $userID) {