Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
env var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simensta committed Feb 17, 2016
1 parent fd42227 commit 7f3f2f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmation, reset password and unlock tokens in the database.
config.secret_key = '324ce30800d79c488f1320f0ff707b419223fff17a61e14b7ce90b63bc748ec948aeb6fe85ac1f95d45132d8560f1278a1c653a6e7e388ff4c410e2880b209c7'
config.secret_key = ENV['DEVISE_SECRET_TOKEN']


# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
API::Application.config.secret_key_base = 'a98063c8376671a76f96df307c219e7a0abc48931f4abbc3aacac874d525da6451f7997b50a224a55a075739af1c549eff33badb200448e3d76bf5d0fae35490'
API::Application.config.secret_key_base = ENV['SECRET_KEY_BASE_TOKEN']

0 comments on commit 7f3f2f8

Please sign in to comment.