Skip to content

Commit

Permalink
Make the app secret configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon committed Aug 4, 2011
1 parent 0e432a6 commit 5a2a2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/application.example.yml
Expand Up @@ -3,3 +3,4 @@ TWITTER_CONSUMER_SECRET: NAxmZCiM8CG8cws8ZteiZJSC434rtMx2bqX7EVK
PUSHER_APP_ID: "3037"
PUSHER_KEY: 3e05ed891b2aecafea54
PUSHER_SECRET: 5054dce585850048cdb9
SECRET: 5e829dce378adc64db250e36255fddd8a57c92b6b96bd2eddb4a60799328054485dd5d80f3b5a42d43e8ab7d3f079c6e699fb9f73f12e32e580bfd16ac442bb9
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Expand Up @@ -4,4 +4,4 @@
# 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.
Chat::Application.config.secret_token = '5e829dce378adc64db250e36255fddd8a57c92b6b96bd2eddb4a60799328054485dd5d80f3b5a42d43e8ab7d3f079c6e699fb9f73f12e32e580bfd16ac442bb9'
Chat::Application.config.secret_token = ENV["SECRET"]

0 comments on commit 5a2a2df

Please sign in to comment.