Fix type error

This commit is contained in:
James Cole 2022-03-28 12:32:39 +02:00
parent 2dfd230918
commit a72af79fab
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -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.');
}