Skip to content

Commit

Permalink
rails 4 secret key base
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewlehner authored and steveyken committed Dec 21, 2013
1 parent 2941526 commit ca0eceb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
#------------------------------------------------------------------------------
# Be sure to restart your server when you modify this file.

# Your secret key for verifying the integrity of signed cookies.
# Your secret key is used 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.

# PLEASE NOTE: This secret token must be changed in your fork of Fat Free CRM.
# This problem is mitigated when running Fat Free CRM as a Rails Engine.

if defined?(FatFreeCRM::Application)
FatFreeCRM::Application.config.secret_token = '51aa366864a80316a85cff0d3762347f4ae3d029d548bef034d56e82b1a2ffac5353ee6719d9b64e4354e2a0b1a901679f46a851c360a2ea377188e4b196b6b6'
FatFreeCRM::Application.config.secret_key_base = '51aa366864a80316a85cff0d3762347f4ae3d029d548bef034d56e82b1a2ffac5353ee6719d9b64e4354e2a0b1a901679f46a851c360a2ea377188e4b196b6b6'
end

0 comments on commit ca0eceb

Please sign in to comment.