mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Enable admin to search by email (#2888)
This commit is contained in:
@@ -31,8 +31,9 @@ func Users(ctx *context.Context) {
|
||||
ctx.Data["PageIsAdminUsers"] = true
|
||||
|
||||
routers.RenderUserSearch(ctx, &models.SearchUserOptions{
|
||||
Type: models.UserTypeIndividual,
|
||||
PageSize: setting.UI.Admin.UserPagingNum,
|
||||
Type: models.UserTypeIndividual,
|
||||
PageSize: setting.UI.Admin.UserPagingNum,
|
||||
SearchByEmail: true,
|
||||
}, tplUsers)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user