Skip to content

Commit 7671c5e

Browse files
authored
Fixes deprecation warning for Rails.application.secrets (#269)
1 parent b21300a commit 7671c5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/devise.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,4 +310,6 @@
310310
config.api.configure do |api|
311311
api.access_token.expires_in = 1.month
312312
end
313+
314+
config.secret_key = Rails.application.secret_key_base
313315
end

0 commit comments

Comments
 (0)