diff options
author | Odin Ugedal <odin@ugedal.com> | 2016-03-15 19:44:58 +0100 |
---|---|---|
committer | Odin Ugedal <odin@ugedal.com> | 2016-03-15 19:44:58 +0100 |
commit | 6ccb2d36cfbe030cb1a72263d6889e79d738df3f (patch) | |
tree | b809aa903a967b94450c10b0610e47b650b605ba /models | |
parent | 3253e3c5aaf19f8cb8dda20b2a01aafe36d28066 (diff) | |
download | gitea-6ccb2d36cfbe030cb1a72263d6889e79d738df3f.tar.gz gitea-6ccb2d36cfbe030cb1a72263d6889e79d738df3f.zip |
Remove email from user search
Diffstat (limited to 'models')
-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 |