summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorAlbert Ting <altlist@gmail.com>2016-12-16 19:20:14 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-12-16 19:20:14 +0100
commit1a0c5438e6394e9225720d21de1ac3a6fb524322 (patch)
tree39c7d267b6f7f7dddcc6f5555dfe5b496d5f7d67 /editusers.cgi
parent3fb30abd2c1aea9aaeb0389f1102f7405a15ff8b (diff)
downloadbugzilla-1a0c5438e6394e9225720d21de1ac3a6fb524322.tar.gz
bugzilla-1a0c5438e6394e9225720d21de1ac3a6fb524322.tar.xz
Bug 521536 - Allow user search by external id when using env authentication
r=dkl,a=dkl
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/editusers.cgi b/editusers.cgi
index 3bc648509..13f7a963c 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -132,6 +132,8 @@ if ($action eq 'search') {
$expr = 'profiles.email';
} elsif ($matchvalue eq 'realname') {
$expr = "profiles.realname";
+ } elsif ($matchvalue eq 'extern_id') {
+ $expr = "profiles.extern_id";
} else {
$expr = "profiles.login_name";
}