提交 39309d13 编写于 作者: C Claudio B

Merge pull request #22553 from jtwarren/patch-1

Correct the time comparison for remember_me token
......@@ -15,7 +15,7 @@ module ActiveSupport
# In the authentication filter:
#
# id, time = @verifier.verify(cookies[:remember_me])
# if time < Time.now
# if Time.now < time
# self.current_user = User.find(id)
# end
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册