mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 05:25:50 +01:00
Add TODO to retrieving the current timestamp.
This commit is contained in:
@@ -38,7 +38,7 @@ trait AccountControllerBase extends ControllerBase {
|
||||
|
||||
post("/:userName/_edit", form)(ownerOnly { form =>
|
||||
val userName = params("userName")
|
||||
val currentDate = new java.sql.Timestamp(System.currentTimeMillis)
|
||||
val currentDate = new java.sql.Timestamp(System.currentTimeMillis) // TODO make a common function to get the current timestamp.
|
||||
updateAccount(getAccountByUserName(userName).get.copy(
|
||||
mailAddress = form.mailAddress,
|
||||
url = form.url,
|
||||
|
||||
Reference in New Issue
Block a user