summaryrefslogtreecommitdiff
path: root/config/defaults.inc.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-09 20:25:52 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-09 20:25:52 +0200
commit96f59c6150916fe67723c64f325d9de99fed59fa (patch)
tree274783c39e0b06ff4fd0627790db6c4b9346bcf5 /config/defaults.inc.php
parentad003c889b27d8bb52c97cf1a087da64f67d4924 (diff)
Add option force specified domain in user login - username_domain_forced (#1489264)
Diffstat (limited to 'config/defaults.inc.php')
-rw-r--r--config/defaults.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index bdcbbd333..bf7c4df2a 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -346,6 +346,10 @@ $config['des_key'] = 'rcmail-!24ByteDESkey*Str';
// 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: