From 14ff157a12c0c64bd3e0dd3624ddffa0b97470d3 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Thu, 30 Mar 2023 13:30:41 +0200 Subject: [PATCH] uppercase DISPLAY_FULL_NAME env var improve default config #1118 --- config/config.default.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.default.php b/config/config.default.php index b46cd20b..d7e31ac6 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -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