OSDN Git Service

Rails 2.3.11
[redminele/redminele.git] / ruby / lib / ruby / gems / 1.8 / gems / rails-2.3.11 / configs / initializers / cookie_verification_secret.rb
diff --git a/ruby/lib/ruby/gems/1.8/gems/rails-2.3.11/configs/initializers/cookie_verification_secret.rb b/ruby/lib/ruby/gems/1.8/gems/rails-2.3.11/configs/initializers/cookie_verification_secret.rb
new file mode 100644 (file)
index 0000000..9f05cd5
--- /dev/null
@@ -0,0 +1,7 @@
+# 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.
+ActionController::Base.cookie_verifier_secret = '<%= app_secret %>';