aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/config/initializers/cookie_verification_secret.rb.tt
blob: be627fbbccaf679815fdd5e906f3e9a01722604f (plain) (blame)
1
2
3
4
5
6
7
# 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.
Rails.application.config.cookie_secret = '<%= app_secret %>'