mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-30 23:04:08 +02:00
linter fix
This commit is contained in:
@@ -1147,7 +1147,7 @@ func Routes() *web.Router {
|
||||
m.Put("", user.BlockUser)
|
||||
m.Delete("", user.UnblockUser)
|
||||
}, context.UserAssignmentAPI(), checkTokenPublicOnly())
|
||||
}, rejectPublicOnly())
|
||||
}, rejectPublicOnly())
|
||||
|
||||
m.Group("/mirror-ssh-key", func() {
|
||||
m.Get("", user.GetMirrorSSHKey)
|
||||
|
||||
Reference in New Issue
Block a user