summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index b364bd643..3cc277450 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -856,6 +856,10 @@ class rcmail
else if ($config['auto_create_user']) {
if ($created = rcube_user::create($username, $host)) {
$user = $created;
+
+ // fix default settings according to namespace prefix
+ $this->fix_namespace_settings($user);
+
// create default folders on first login
if ($config['create_default_folders'])
$this->imap->create_default_folders();