diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-09 14:12:05 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-09 14:12:21 +0100 |
commit | 0fb85939da482e50a7337d8762fb26e75bb16ce5 (patch) | |
tree | 4571a75e2a000f710712287aecd26a59122d665e /config | |
parent | 9f055126479000764b488cbb8e91733daaca1c36 (diff) | |
download | gitlab-ce-0fb85939da482e50a7337d8762fb26e75bb16ce5.tar.gz |
Fix incoming email config defaultsfix-incoming-email-default
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/1_settings.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 64d73d7232d..8192d727f2a 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -193,8 +193,8 @@ Settings.gitlab_ci['builds_path'] = File.expand_path(Settings.gitlab_c Settings['incoming_email'] ||= Settingslogic.new({}) Settings.incoming_email['enabled'] = false if Settings.incoming_email['enabled'].nil? Settings.incoming_email['port'] = 143 if Settings.incoming_email['port'].nil? -Settings.incoming_email['ssl'] = 143 if Settings.incoming_email['ssl'].nil? -Settings.incoming_email['start_tls'] = 143 if Settings.incoming_email['start_tls'].nil? +Settings.incoming_email['ssl'] = false if Settings.incoming_email['ssl'].nil? +Settings.incoming_email['start_tls'] = false if Settings.incoming_email['start_tls'].nil? Settings.incoming_email['mailbox'] = "inbox" if Settings.incoming_email['mailbox'].nil? # |