Add sendgrid support

added api sendgrid key on .env file

Depends-On: https://review.openstack.org/#/c/651794
Change-Id: I084d5f66138f15cf5d9b215a1cb9a304e70e4957
This commit is contained in:
smarcet 2019-04-11 11:36:12 -03:00
parent b0f0013551
commit 18261412e5
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class openstackid (
$app_version = '',
$app_timezone = 'UTC',
$email_driver = 'mail',
$email_send_grid_api_key = '',
$email_smtp_server = 'smtp.mailgun.org',
$email_smtp_server_port = 587,
$email_smtp_server_user = '',

View File

@ -46,6 +46,7 @@ MAIL_HOST=<%= @email_smtp_server %>
MAIL_PORT=<%= @email_smtp_server_port %>
MAIL_USERNAME="<%= @email_smtp_server_user %>"
MAIL_PASSWORD="<%= @email_smtp_server_password %>"
SENDGRID_API_KEY=<%= @email_send_grid_api_key %>
CORS_ALLOWED_HEADERS="origin, content-type, accept, authorization, x-requested-with"
CORS_ALLOWED_METHODS="GET, POST, OPTIONS, PUT, DELETE"