Skip to content

Firefly III: a personal finances manager

Fix type error

James Colea72af79fab27
diff --git a/config/auth.php b/config/auth.php
index 0f865b1bbc..348e14ab49 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-if('ldap' === strtolower(env('AUTHENTICATION_GUARD'))) {
+if('ldap' === strtolower((string) env('AUTHENTICATION_GUARD'))) {
die('LDAP is no longer supported by Firefly III v5.7+. Sorry about that. You will have to switch to "remote_user_guard", and use tools like Authelia or Keycloak to use LDAP together with Firefly III.');
}