Skip to content
Extraits de code Groupes Projets
Valider cc961d66 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

symbolize smtp_authentication setting to conform to rails docs

parent 67b2af0d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -137,8 +137,8 @@ defaults: &defaults ...@@ -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 ...@@ -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],
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter