secret_token.rb 1.0 KB

1234567891011121314151617181920
  1. #---
  2. # Excerpted from "Agile Web Development with Rails",
  3. # published by The Pragmatic Bookshelf.
  4. # Copyrights apply to this code. It may not be used to create training material,
  5. # courses, books, articles, and the like. Contact us if you are in doubt.
  6. # We make no guarantees that this code is fit for any purpose.
  7. # Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
  8. #---
  9. # Be sure to restart your server when you modify this file.
  10. # Your secret key for verifying the integrity of signed cookies.
  11. # If you change this key, all old signed cookies will become invalid!
  12. # Make sure the secret is at least 30 characters and all random,
  13. # no regular words or you'll be exposed to dictionary attacks.
  14. # You can use `rake secret` to generate a secure secret key.
  15. # Make sure your secret_key_base is kept private
  16. # if you're sharing your code publicly.
  17. Depot::Application.config.secret_key_base = 'a618539d52be986defb0b9f1cabec3ebbde406dc003ee9b12030e3e1377a4aadb31c259588afaac00f79a1aac8533ece66b9eca13bf199f00b8e3f01501c637a'