-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed plain as the default config for smtp authorization
invalid without a username and password
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ def load_seek_config_defaults! | |
Seek::Config.default :sycamore_enabled,false | ||
Seek::Config.default :jerm_enabled,false | ||
Seek::Config.default :email_enabled,false | ||
Seek::Config.default :smtp, {:address => '', :port => '25', :domain => '', :authentication => :plain, :user_name => '', :password => '', :enable_starttls_auto=>false} | ||
Seek::Config.default :smtp, { address: '', port: '25', domain: '', authentication: '', user_name: '', password: '', enable_starttls_auto: false } | ||
Seek::Config.default :noreply_sender, '[email protected]' | ||
Seek::Config.default :support_email_address, '' | ||
Seek::Config.default :solr_enabled, false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,7 +136,7 @@ class ConfigTest < ActiveSupport::TestCase | |
end | ||
|
||
test 'smtp_settings authentication' do | ||
assert_equal :plain, Seek::Config.smtp_settings('authentication') | ||
assert_equal '', Seek::Config.smtp_settings('authentication') | ||
end | ||
test 'noreply_sender' do | ||
assert_equal '[email protected]', Seek::Config.noreply_sender | ||
|