Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request Growstuff#710 from cesy/secrets
Browse files Browse the repository at this point in the history
Switching to new secrets format
  • Loading branch information
Skud committed May 20, 2015
2 parents 9a2818b + 2740b5e commit add275e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
7 changes: 0 additions & 7 deletions config/initializers/secret_token.rb

This file was deleted.

17 changes: 17 additions & 0 deletions config/secrets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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.

development:
secret_key_base: 'b1b67abb399261478f4721e704eb3851466daf60d9cd2b53a1839b056d641c4c1c2a476bcaf7addc6d6548926cfd32fa5a00a8de258880257ebb5a6fd86cb08f'
# run 'rake secret' to generate your own

test:
secret_key_base: 'be557aa019b181f201c9906663dbf8f22efb1b70b11f78035bfeda86aa7dcfd1efb184e2ee894a0ae0dc37fe67d311f38e7731fa16d8d595f2e1ef5447bae020'
# run 'rake secret' to generate your own

production:
secret_key_base: <%= ENV["RAILS_SECRET_TOKEN"] %>

0 comments on commit add275e

Please sign in to comment.