From 3b65ba3719eaa234d9a46d4f1641c3bf709677df Mon Sep 17 00:00:00 2001 From: Brian Lycett Date: Thu, 12 Jul 2018 11:05:25 +0100 Subject: [PATCH] fix USERNAME_FORMAT variable typo --- www/includes/config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/includes/config.inc.php b/www/includes/config.inc.php index 996d920..5da515d 100644 --- a/www/includes/config.inc.php +++ b/www/includes/config.inc.php @@ -27,7 +27,7 @@ $LOGIN_TIMEOUT_MINS = (getenv('SESSION_TIMEOUT') ? getenv('SESSION_TIMEOUT') : 10); $SITE_NAME = (getenv('SITE_NAME') ? getenv('SITE_NAME') : 'LDAP user manager'); - $USERNAME_FORMAT = (getenv('USERNAME+FORMAT') ? getenv('USERNAME_FORMAT') : '{first_name}-{last_name}'); + $USERNAME_FORMAT = (getenv('USERNAME_FORMAT') ? getenv('USERNAME_FORMAT') : '{first_name}-{last_name}'); $USERNAME_REGEX = '^[a-z][a-zA-Z0-9\._-]{3,32}$'; #We'll use the username regex for groups too.