Add AccountService#updateLastLoginDate().

This commit is contained in:
takezoe
2013-06-04 14:04:03 +09:00
parent 315da9caa5
commit 5793851b7d
2 changed files with 9 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ trait SignInControllerBase extends ControllerBase { self: AccountService =>
redirect("/signin")
} else {
session.setAttribute("LOGIN_ACCOUNT", account.get)
updateLastLoginDate(account.get.userName)
redirect("/%s".format(account.get.userName))
}
}