Skip to content

Commit

Permalink
forgot to try ENV in secret_token initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
clouder committed Jan 31, 2012
1 parent e2302cf commit c73196c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
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.
Pushbroom::Application.config.secret_token = APP_CONFIG['session_secret']
Pushbroom::Application.config.secret_token = ENV['session_secret'] || APP_CONFIG['session_secret']

0 comments on commit c73196c

Please sign in to comment.