Commit a88e3d3a

mo khan <mo@mokhan.ca>
2013-06-05 04:07:29
move secret token out to dotenv configuration
1 parent 981c0b7
Changed files (1)
config
initializers
config/initializers/secret_token.rb
@@ -4,4 +4,4 @@
 # 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.
-Cake::Application.config.secret_token = 'ae8cd7c6c34a50f132dc7769418e0ef7f1b9660c8034bd98e334792ceb1774a0a945a5434a38854c904c0e2524aa193c6cc3bf836e330d7d0c4d457dd8fecc29'
+Cake::Application.config.secret_token = ENV['SECRET_TOKEN']