Skip to content

Firefly III: a personal finances manager

Fix issue with profile functions.

James Cole886475740aa2
diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php
index fb62f75f4d..cd952dcb1e 100644
--- a/app/Http/Controllers/ProfileController.php
+++ b/app/Http/Controllers/ProfileController.php
@@ -81,7 +81,7 @@ class ProfileController extends Controller
);
$loginProvider = config('firefly.login_provider');
$authGuard = config('firefly.authentication_guard');
- $this->externalIdentity = 'eloquent' === $loginProvider || 'remote_user_guard' === $authGuard;
+ $this->externalIdentity = 'eloquent' !== $loginProvider || 'web' !== $authGuard;
$this->middleware(IsDemoUser::class)->except(['index']);
}