blob: c4e1e6d218a312b67e54ed9b4219e7e2e13dd194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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.
if token = APP_CONFIG['secret_token']
LeapWeb::Application.config.secret_token = token
else
raise StandartError.new("No secret_token defined in config/config.yml - please provide one.")
end
|