Moved SMTP settings to environment variables.
This commit is contained in:
@@ -37,12 +37,12 @@ Redstoner::Application.configure do
|
||||
}
|
||||
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: "smtp.gmail.com",
|
||||
port: 587,
|
||||
domain: "google.com",
|
||||
authentication: "plain",
|
||||
user_name: "redstonerserver@gmail.com",
|
||||
password: ENV["GMAIL_PASSWORD"],
|
||||
address: ENV["SMTP_ADDRESS"],
|
||||
port: ENV["SMTP_PORT"],
|
||||
domain: "redstoner.com",
|
||||
authentication: ENV["SMTP_AUTH"],
|
||||
user_name: ENV["SMTP_USERNAME"],
|
||||
password: ENV["SMTP_PASSWORD"],
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
@@ -71,12 +71,12 @@ Redstoner::Application.configure do
|
||||
}
|
||||
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: "smtp.gmail.com",
|
||||
port: 587,
|
||||
domain: "google.com",
|
||||
authentication: "plain",
|
||||
user_name: "redstonerserver@gmail.com",
|
||||
password: ENV["GMAIL_PASSWORD"],
|
||||
address: ENV["SMTP_ADDRESS"],
|
||||
port: ENV["SMTP_PORT"],
|
||||
domain: "redstoner.com",
|
||||
authentication: ENV["SMTP_AUTH"],
|
||||
user_name: ENV["SMTP_USERNAME"],
|
||||
password: ENV["SMTP_PASSWORD"],
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user