diff options
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r-- | packages/spamd.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 0a17bb72..c6846507 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -152,7 +152,10 @@ function sync_spamd_config_to_backup() { if($carp['synchronizetoip'] != "" ) { $synctoip = $carp['synchronizetoip']; $password = $carp['password']; - $username = "admin"; + if($config['system']['username']) + $username = $config['system']['username']; + else + $username = "admin"; } } } |