diff --git a/.env-example b/.env-example index 6fc3cd1b..c6085d51 100644 --- a/.env-example +++ b/.env-example @@ -1,11 +1,7 @@ -SECRET_KEY_BASE= ALLOWED_CORS_ORIGINS=* RAILS_SERVE_STATIC_FILES=true ENABLE_AUTHENTICATION= DEVISE_SECRET_KEY= DEVISE_PEPPER= -MAILER_SENDER= -DEFAULT_URL= -DEFAULT_PORT= -SANITIZED_ALLOWED_TAGS="strong b em i ul ol li br a div span img h1 h2 h3 h4 h5 h6" +SANITIZED_ALLOWED_TAGS="strong b em i ul ol li br a div span img h1 h2 h3 h4 h5 h6 p" SANITIZED_ALLOWED_ATTRIBUTES="href style" diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 1bfe798a..9d676df9 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -36,7 +36,7 @@ # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use your own mailer class # with default "from" parameter. - config.mailer_sender = ENV['MAILER_SENDER'] + config.mailer_sender = Rails.application.credentials.email_from # Configure the class responsible to send e-mails. # config.mailer = 'Devise::Mailer'