mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08: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