Skip to content

Commit

Permalink
chore: update env configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-atnos committed Jan 24, 2024
1 parent 5a23fa9 commit 52d5053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .env-example
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 52d5053

Please sign in to comment.