mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 09:53:10 +02:00
work on #754
This commit is contained in:
1 parent
c4820f119d
commit
0a697517ac
1 file changed
+3
@@ -213,6 +213,9 @@ func Profile(ctx *middleware.Context) {
|
||||
// FIXME: cache results?
|
||||
u, err := models.GetUserByName(act.ActUserName)
|
||||
if err != nil {
|
||||
if err == models.ErrUserNotExist {
|
||||
continue
|
||||
}
|
||||
ctx.Handle(500, "GetUserByName", err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user