mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-01 19:15:59 +01:00
Add AccountService#updateLastLoginDate().
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user