Sha256: bbd4e9c09d5082b57abc73149f11c579d5090a76f649c4ba8358f0c260b5ead7
Contents?: true
Size: 705 Bytes
Versions: 194
Compression:
Stored size: 705 Bytes
Contents
# config/initializers/secret_token.rb # 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. TrustyCms::Application.config.secret_token = if Rails.env.development? or Rails.env.test? ('x' * 30) # meets minimum requirement of 30 chars long else ENV['SECRET_TOKEN'] end
Version data entries
194 entries across 194 versions & 1 rubygems