implementation for #1469

This reverts commit 18edc937fd.
This commit is contained in:
r888888888
2014-03-12 18:22:15 -07:00
parent a93ce87cf3
commit 7e07b874a4
6 changed files with 84 additions and 11 deletions

View File

@@ -13,7 +13,6 @@ class SessionCreator
def authenticate
if User.authenticate(name, password)
user = User.find_by_name(name)
user.update_column(:last_logged_in_at, Time.now)
if remember.present?
cookies.permanent.signed[:user_name] = {