symbolize smtp_authentication setting to conform to rails docs
This commit is contained in:
parent
67b2af0da6
commit
cc961d66e2
2 changed files with 3 additions and 3 deletions
|
|
@ -137,8 +137,8 @@ defaults: &defaults
|
||||||
# Set this to true if you want to use exim and sendmail
|
# Set this to true if you want to use exim and sendmail
|
||||||
sendmail_exim_fix: false
|
sendmail_exim_fix: false
|
||||||
|
|
||||||
# Authentication required to send mail. Use one of 'one', 'plain',
|
# Authentication required to send mail. Use one of 'plain',
|
||||||
# 'login' or 'cram-md5'. Use 'none' if server does not support
|
# 'login' or 'cram_md5'. Use 'none' if server does not support
|
||||||
# authentication
|
# authentication
|
||||||
smtp_authentication: 'plain'
|
smtp_authentication: 'plain'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ Diaspora::Application.configure do
|
||||||
:address => AppConfig[:smtp_address],
|
:address => AppConfig[:smtp_address],
|
||||||
:port => AppConfig[:smtp_port],
|
:port => AppConfig[:smtp_port],
|
||||||
:domain => AppConfig[:smtp_domain],
|
:domain => AppConfig[:smtp_domain],
|
||||||
:authentication => AppConfig[:smtp_authentication],
|
:authentication => AppConfig[:smtp_authentication].gsub('-', '_').to_s,
|
||||||
:user_name => AppConfig[:smtp_username],
|
:user_name => AppConfig[:smtp_username],
|
||||||
:password => AppConfig[:smtp_password],
|
:password => AppConfig[:smtp_password],
|
||||||
:enable_starttls_auto => AppConfig[:smtp_starttls_auto],
|
:enable_starttls_auto => AppConfig[:smtp_starttls_auto],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue