diff options
| -rw-r--r-- | config/initializers/secret_token.rb | 7 | ||||
| -rw-r--r-- | config/secrets.yml | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb deleted file mode 100644 index 033ba4033..000000000 --- a/config/initializers/secret_token.rb +++ /dev/null @@ -1,7 +0,0 @@ -# Be sure to restart your server when you modify this file. - -# Your secret key for verifying the integrity of signed cookies. -# If you change this key, all old signed cookies will become invalid! -# Make sure the secret is at least 30 characters and all random, -# no regular words or you'll be exposed to dictionary attacks. -ChouetteIhm::Application.config.secret_token = 'd96f21039d643a92629a6c5c5f9d21864dc05e8ea3dd81295a10ee8ee1138a671bc5693fe618a3af08bb60f7d6494ff650e1b73237460b9213f1333e187853f4' diff --git a/config/secrets.yml b/config/secrets.yml new file mode 100644 index 000000000..f05cb338c --- /dev/null +++ b/config/secrets.yml @@ -0,0 +1,8 @@ +development: + secret_key_base: '6077b8f7e765718f4b9bcd963dd859c412a96a19db8ba71d6dc2aad7316ff20150c945e0e61aa727fc0a373e884d3f91de372cc913e532a01558d9263e587539' + +test: + secret_key_base: '6077b8f7e765718f4b9bcd963dd859c412a96a19db8ba71d6dc2aad7316ff20150c945e0e61aa727fc0a373e884d3f91de372cc913e532a01558d9263e587539' + +production: + secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
\ No newline at end of file |
