asciinema.org/config/initializers/secret_token.rb

13 lines
552 B
Ruby
Raw Normal View History

# Be sure to restart your server when you modify this file.
2013-08-08 12:10:46 +00:00
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
2013-08-08 12:10:46 +00:00
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
2013-08-08 12:10:46 +00:00
# You can use `rake secret` to generate a secure secret key.
2013-08-08 12:10:46 +00:00
# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
2013-12-09 18:03:22 +00:00
Asciinema::Application.config.secret_key_base = CFG['SECRET_TOKEN']