mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
Add TODO to retrieving the current timestamp.
This commit is contained in:
@@ -27,6 +27,7 @@ trait AccountService {
|
||||
account.lastLoginDate)
|
||||
|
||||
def updateLastLoginDate(userName: String): Unit =
|
||||
// TODO make a common function to get the current timestamp.
|
||||
Query(Accounts).filter(_.userName is userName.bind).map(_.lastLoginDate)
|
||||
.update(new java.sql.Timestamp(System.currentTimeMillis))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user