annotate config/initializers/secret_token.rb @ 66:e0817b84c01b

Allow post in txt format.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 10:20:19 +0700
parents 4aa8194a1733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 # Your secret key for verifying the integrity of signed cookies.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 # If you change this key, all old signed cookies will become invalid!
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 # Make sure the secret is at least 30 characters and all random,
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 # no regular words or you'll be exposed to dictionary attacks.
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 Zeropaste::Application.config.secret_token = '312c7dd024cee5ceec254af50bf0bf7ee3e976d3581b13e8525798219cb3ddabc0845732f3a667d4f786971b28a3b3ed9b050ef5660266be030af17758a188dd'