提交 bd97c304 编写于 作者: J Jay Pignata 提交者: Joshua Peek

CookieStore should not be derived from Hash - reverting [#2268 state:resolved]

Signed-off-by: NJoshua Peek <josh@joshpeek.com>
上级 487ee41d
......@@ -37,7 +37,7 @@ module Session
# "rake secret" and set the key in config/environment.rb.
#
# Note that changing digest or secret invalidates all existing sessions!
class CookieStore < Hash
class CookieStore
# Cookies can typically store 4096 bytes.
MAX = 4096
SECRET_MIN_LENGTH = 30 # characters
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册