Skip to content

Commit

Permalink
Minor fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienNeibaf committed Sep 26, 2019
1 parent 3207d7d commit 3216574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Devise.setup do |config|
# credentials
credentials = Rails.application.credentials
FACEBOOK_APP_ID = credentials[:facebook] && credentials[:facebook][:app_id].freeze
FACEBOOK_APP_SECRET = credentials[:facebook] && credentials[:facebook][:app_secret].freeze
FACEBOOK_APP_ID = credentials[:facebook][:app_id].freeze
FACEBOOK_APP_SECRET = credentials[:facebook][:app_secret].freeze

# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
Expand Down

0 comments on commit 3216574

Please sign in to comment.