From 96f59c6150916fe67723c64f325d9de99fed59fa Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 09 Sep 2013 14:25:52 -0400 Subject: [PATCH] Add option force specified domain in user login - username_domain_forced (#1489264) --- config/defaults.inc.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index bdcbbd3..bf7c4df 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -346,6 +346,10 @@ // For example %n = mail.domain.tld, %t = domain.tld $config['username_domain'] = ''; +// Force domain configured in username_domain to be used for login. +// Any domain in username will be replaced by username_domain. +$config['username_domain_forced'] = false; + // This domain will be used to form e-mail addresses of new users // Specify an array with 'host' => 'domain' values to support multiple hosts // Supported replacement variables: -- Gitblit v1.9.1