Skip to content
Extraits de code Groupes Projets
Valider 2a104ea6 rédigé par ilya's avatar ilya
Parcourir les fichiers

Revert "moved the SMTP setting into app_config.yml"

This reverts commit 2451ac49.
parent bb3442af
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -24,15 +24,15 @@ Diaspora::Application.configure do ...@@ -24,15 +24,15 @@ Diaspora::Application.configure do
config.active_support.deprecation = :log config.active_support.deprecation = :log
config.middleware.use MongoMapper::ClearDevMemory config.middleware.use MongoMapper::ClearDevMemory
#config.threadsafe! #config.threadsafe!
config.action_mailer.delivery_method = :smtp config.action_mailer.delivery_method = :smtp
config.action_mailer.default_url_options = {:host => APP_CONFIG[:terse_pod_url]} config.action_mailer.default_url_options = {:host => 'localhost:3000'}
config.action_mailer.smtp_settings = { config.action_mailer.smtp_settings = {
:address => APP_CONFIG[:smtp_address], :address => 'smtp.gmail.com',
:port => APP_CONFIG[:smtp_port], :port => 587,
:domain => APP_CONFIG[:smtp_domain], :domain => 'mail.joindiaspora.com',
:authentication => APP_CONFIG[:smtp_authentication], :authentication => 'plain',
:user_name => APP_CONFIG[:smtp_username], :user_name => 'diaspora-pivots@joindiaspora.com',
:password => APP_CONFIG[:smtp_password], :password => "xy289|]G+R*-kA",
:enable_starttls_auto => true :enable_starttls_auto => true
} }
end end
...@@ -49,14 +49,14 @@ Diaspora::Application.configure do ...@@ -49,14 +49,14 @@ Diaspora::Application.configure do
config.threadsafe! config.threadsafe!
config.action_mailer.delivery_method = :smtp config.action_mailer.delivery_method = :smtp
config.action_mailer.default_url_options = {:host => APP_CONFIG[:terse_pod_url]} config.action_mailer.default_url_options = {:host => 'pivots.joindiaspora.com'}
config.action_mailer.smtp_settings = { config.action_mailer.smtp_settings = {
:address => APP_CONFIG[:smtp_address], :address => 'smtp.gmail.com',
:port => APP_CONFIG[:smtp_port], :port => 587,
:domain => APP_CONFIG[:smtp_domain], :domain => 'mail.joindiaspora.com',
:authentication => APP_CONFIG[:smtp_authentication], :authentication => 'plain',
:user_name => APP_CONFIG[:smtp_username], :user_name => 'diaspora-pivots@joindiaspora.com',
:password => APP_CONFIG[:smtp_password], :password => "xy289|]G+R*-kA",
:enable_starttls_auto => true :enable_starttls_auto => true
} }
end end
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