diff options
-rw-r--r-- | models/user.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go index 93db70a414..a1d1f3b211 100644 --- a/models/user.go +++ b/models/user.go @@ -1142,7 +1142,6 @@ func SearchUserByName(opts *SearchUserOptions) (users []*User, _ int64, _ error) // Append conditions sess := x.Where("lower_name like ?", searchQuery). Or("full_name like ?", searchQuery). - Or("email like ?", searchQuery). And("type = ?", opts.Type) var countSess xorm.Session |