Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Merge ecb31dd into c2a4342
Browse files Browse the repository at this point in the history
  • Loading branch information
mallowlabs committed Sep 21, 2014
2 parents c2a4342 + ecb31dd commit 4221287
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"QUOTEIT_URL": {
"description": "QuoteIt URL",
"value": "https://quoteit.herokuapp.com"
},
"SECRET_KEY_BASE": {
"description": "A secret key for verifying the integrity of signed cookies",
"generator": "secret"
}
},
"addons": [
Expand Down
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.
AsakusaSatellite::Application.config.secret_token = '757e1ab289018387107b419f801bccc94017432f61542e0a3ef9a29d3a968670fb122e77150ddb079ab159c65d6710a3b54a2392b4f46a2ff9323bd3eb761fa7'
AsakusaSatellite::Application.config.secret_token = ENV['SECRET_KEY_BASE'] || '757e1ab289018387107b419f801bccc94017432f61542e0a3ef9a29d3a968670fb122e77150ddb079ab159c65d6710a3b54a2392b4f46a2ff9323bd3eb761fa7'

0 comments on commit 4221287

Please sign in to comment.