OperationCode/operationcode_backend

Devise secret key is in source control

jimbert opened this issue · 1 comments

I was flipping through the source and noticed that we have the devise secret key committed to source control. This should be extracted as an environment variable.

config.secret_key = '34486348de8caa31dbf426f515084b3c4b33c15954ce1b0eb8f664f58eb68453ba7dd2603aa0a6a54ee816adcb5a72adca4564df5d772a7ae45ab1efbf814c9c'

Thank you, it looks like we had config/secrets.yml set but I'm uncertain if the device config or the secrets.yml would win in production.

The prod version of the secret key was different than the value in config anyways.