DistroPropaganda/code/rails40/demo1/config/initializers/secret_token.rb
2018-11-24 13:20:20 +01:00

20 行
1 KiB
Ruby

#---
# Excerpted from "Agile Web Development with Rails",
# published by The Pragmatic Bookshelf.
# Copyrights apply to this code. It may not be used to create training material,
# courses, books, articles, and the like. Contact us if you are in doubt.
# We make no guarantees that this code is fit for any purpose.
# Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
#---
# 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.
# You can use `rake secret` to generate a secure secret key.
# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
Demo1::Application.config.secret_key_base = '901ca40b00a07d11b789e2696b1cab44b06f556e53d2c36416c4b26cd31d3dc827f1ec97b9dcdb209763f2d2a602340bcdc3ce548c5db6b1afd0de42320e05fb'