mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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