diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-11-30 02:26:29 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-11-30 02:26:29 -0500 |
commit | d75013a0e88a1f46fd16f5ba9344ff17ed84cd37 (patch) | |
tree | c153e256f1608c219e4717e3fab217c8aec1187b /models/user.go | |
parent | b6437b5a4c52bceb8032b00b474c2aa0ced69575 (diff) | |
download | gitea-d75013a0e88a1f46fd16f5ba9344ff17ed84cd37.tar.gz gitea-d75013a0e88a1f46fd16f5ba9344ff17ed84cd37.zip |
fix #580
Diffstat (limited to 'models/user.go')
-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 9eead462e2..61a43ba9bf 100644 --- a/models/user.go +++ b/models/user.go @@ -628,7 +628,6 @@ func GetUserByEmail(email string) (*User, error) { // SearchUserByName returns given number of users whose name contains keyword. func SearchUserByName(opt SearchOption) (us []*User, err error) { - opt.Keyword = FilterSQLInject(opt.Keyword) if len(opt.Keyword) == 0 { return us, nil } |