Remove email from user search

tokarchuk/v1.17
Odin Ugedal 9 years ago
parent 3253e3c5aa
commit 6ccb2d36cf
  1. 1
      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

Loading…
Cancel
Save