summaryrefslogtreecommitdiff
path: root/plugins/password/config.inc.php.dist
diff options
context:
space:
mode:
authorGDR\! <gdr@go2.pl>2012-05-24 11:56:39 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-25 13:47:49 +0200
commit2712e3200c69aa2ebcfe488d7941c3ad77c917bb (patch)
tree541a1554b9f754efe97ba6fbc6b62e1948dda38c /plugins/password/config.inc.php.dist
parente98eeafdd4115db53ea2983a7f8cce395eda880b (diff)
Password plugin made compatible with modern Virtualmin
Added a new username format in Virtualmin driver, which works for default Virtualmin settings where username is user.postfix and domain is taken from email address. Example: email - info@goodcoffee.com login - info.goodcof
Diffstat (limited to 'plugins/password/config.inc.php.dist')
-rw-r--r--plugins/password/config.inc.php.dist3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist
index aed0eaf28..37c79315d 100644
--- a/plugins/password/config.inc.php.dist
+++ b/plugins/password/config.inc.php.dist
@@ -308,7 +308,8 @@ $rcmail_config['hmailserver_server'] = array(
// 5: domain-username
// 6: username_domain
// 7: domain_username
-$rcmail_config['password_virtualmin_format'] = 0;
+// 8: username@domain; mbox.username
+$rcmail_config['password_virtualmin_format'] = 8;
// pw_usermod Driver options