mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 21:15:49 +01:00
Small fix.
This commit is contained in:
@@ -24,12 +24,12 @@ trait AccountControllerBase extends ControllerBase {
|
||||
val userName = params("userName")
|
||||
getAccountByUserName(userName).map {
|
||||
account.html.userinfo(_, getVisibleRepositories(userName, baseUrl, context.loginAccount.map(_.userName)))
|
||||
} getOrElse NotFound()
|
||||
} getOrElse NotFound
|
||||
}
|
||||
|
||||
get("/:userName/_edit")(ownerOnly {
|
||||
val userName = params("userName")
|
||||
getAccountByUserName(userName).map(account.html.useredit(_)) getOrElse NotFound()
|
||||
getAccountByUserName(userName).map(account.html.useredit(_)) getOrElse NotFound
|
||||
})
|
||||
|
||||
post("/:userName/_edit", form)(ownerOnly { form =>
|
||||
|
||||
Reference in New Issue
Block a user