mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
work on #1493
This commit is contained in:
@@ -122,7 +122,7 @@ func Http(ctx *middleware.Context) {
|
||||
}
|
||||
return
|
||||
}
|
||||
authUser, err = models.GetUserByID(token.Uid)
|
||||
authUser, err = models.GetUserByID(token.UID)
|
||||
if err != nil {
|
||||
ctx.Handle(500, "GetUserById", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user