[#345] hide devise secret

This commit is contained in:
Alexander Machehin 2014-03-12 10:57:32 +06:00
parent 211b403897
commit d78879c691
1 changed files with 1 additions and 1 deletions

View File

@ -205,5 +205,5 @@ Devise.setup do |config|
# manager.default_strategies(:scope => :user).unshift :some_external_strategy
# end
config.secret_key = '4a8a8e28e63a3d1f4ec3be11df2f6d40e7baa99bbd6da601622150c99cb9d77f98c1baed3e5871c646b12738d07e6e76d5bb537ef407a02e4ca6de579c0e8a57'
config.secret_key = APP_CONFIG['keys']['devise']['secret_key']
end