diff options
author | mkanat%kerio.com <> | 2005-07-08 11:31:41 +0200 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-07-08 11:31:41 +0200 |
commit | 4f25eedf9065f28badf1e5e1df6c925062d8279e (patch) | |
tree | 01adc7e1f641b2104a5177bd84ad4ab084e71dda /Bugzilla/Auth/Verify/LDAP.pm | |
parent | 6bff5c39e564cc34c85c4d30e11f6ff14482548a (diff) | |
download | bugzilla-4f25eedf9065f28badf1e5e1df6c925062d8279e.tar.gz bugzilla-4f25eedf9065f28badf1e5e1df6c925062d8279e.tar.xz |
Bug 285695: [PostgreSQL] Username checks for login, etc. need to be case insensitive
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/Auth/Verify/LDAP.pm')
-rw-r--r-- | Bugzilla/Auth/Verify/LDAP.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Verify/LDAP.pm b/Bugzilla/Auth/Verify/LDAP.pm index 551a70f45..ee58f9d7e 100644 --- a/Bugzilla/Auth/Verify/LDAP.pm +++ b/Bugzilla/Auth/Verify/LDAP.pm @@ -137,7 +137,8 @@ sub authenticate { my $dbh = Bugzilla->dbh; my $sth = $dbh->prepare_cached("SELECT userid, disabledtext " . "FROM profiles " . - "WHERE login_name=?"); + "WHERE " . + $dbh->sql_istrcmp('login_name', '?')); my ($userid, $disabledtext) = $dbh->selectrow_array($sth, undef, |