Setting secret key in config/initializers/secret_token.rb

This commit is contained in:
luisramos0
2019-03-21 18:19:28 +00:00
committed by Luis Ramos
parent 8e747e54a0
commit 8fe3a8aea4

View File

@@ -9,3 +9,5 @@ Openfoodnetwork::Application.config.secret_token = if Rails.env.development? or
else
ENV["SECRET_TOKEN"]
end
Openfoodnetwork::Application.config.secret_key_base = 'ceb1eb86c50285e696f899b2e7ea306d1ec1e81fe5c7af0e5cbc238bebe3fd60f19df7b9076fab836182821ebe14e41b64bdcdb4370520dc5bb711c1bc0ae616'