diff options
Diffstat (limited to 'routers/web/explore/user.go')
-rw-r--r-- | routers/web/explore/user.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/web/explore/user.go b/routers/web/explore/user.go index 8560378447..27634c3d4e 100644 --- a/routers/web/explore/user.go +++ b/routers/web/explore/user.go @@ -8,7 +8,6 @@ import ( "bytes" "net/http" - "code.gitea.io/gitea/models" "code.gitea.io/gitea/models/db" user_model "code.gitea.io/gitea/models/user" "code.gitea.io/gitea/modules/base" @@ -79,7 +78,7 @@ func RenderUserSearch(ctx *context.Context, opts *user_model.SearchUserOptions, ctx.Data["Keyword"] = opts.Keyword ctx.Data["Total"] = count ctx.Data["Users"] = users - ctx.Data["UsersTwoFaStatus"] = models.UserList(users).GetTwoFaStatus() + ctx.Data["UsersTwoFaStatus"] = user_model.UserList(users).GetTwoFaStatus() ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled |