Skip to content

Firefly III: a personal finances manager

update default config

James Cole00a122833a64
diff --git a/config/firefly.php b/config/firefly.php
index 5cfb2a64f8..aac88231f2 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -134,24 +134,31 @@ return [
'tracker_site_id' => env('TRACKER_SITE_ID', ''),
'tracker_url' => env('TRACKER_URL', ''),
- // login and authentication
+
+ // LDAP and authentication settings
'login_provider' => envNonEmpty('LOGIN_PROVIDER', 'eloquent'),
'authentication_guard' => envNonEmpty('AUTHENTICATION_GUARD', 'web'),
'custom_logout_uri' => envNonEmpty('CUSTOM_LOGOUT_URI', ''),
+ 'ldap_auth_field' => env('LDAP_AUTH_FIELD', env('ADLDAP_AUTH_FIELD', 'distinguishedname')),
// static config (cannot be changed by user)
'update_endpoint' => 'https://version.firefly-iii.org/index.json',
'telemetry_endpoint' => 'https://telemetry.firefly-iii.org',
'update_minimum_age' => 7,
- // send emails?
+ // web configuration:
'trusted_proxies' => env('TRUSTED_PROXIES', ''),
'layout' => envNonEmpty('FIREFLY_III_LAYOUT', 'v1'),
+
+ // map configuration
'default_location' => [
'longitude' => env('MAP_DEFAULT_LONG', '5.916667'),
'latitude' => env('MAP_DEFAULT_LAT', '51.983333'),
'zoom_level' => env('MAP_DEFAULT_ZOOM', '6'),
],
+
+ // internal Firefly III configuration:
+ // edit me = peligro de muerte
'valid_attachment_models' => [
Account::class,
Bill::class,