uppercase DISPLAY_FULL_NAME env var

improve default config #1118
This commit is contained in:
Thomas Rupprecht 2023-03-30 13:30:41 +02:00 committed by GitHub
parent ebed5acd5a
commit 14ff157a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ return [
// Must be one of news, meetings, user_shifts, angeltypes, questions
'home_site' => env('HOME_SITE', 'news'),
// Number of News shown on one site and for feed readers
// Number of News shown on one site and for feed readers (minimum 1)
'display_news' => env('DISPLAY_NEWS', 10),
// Users are able to sign up
@ -270,7 +270,7 @@ return [
'enable_user_name' => (bool) env('ENABLE_USER_NAME', false),
// Show a users first name and last name instead of username
'display_full_name' => env('display_full_name', false)
'display_full_name' => env('DISPLAY_FULL_NAME', false)
&& env('ENABLE_USER_NAME', false),
// Enable displaying the pronoun fields