summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-09-24 16:44:22 +0200
committerjustdave%syndicomm.com <>2003-09-24 16:44:22 +0200
commit81cfdde56a0386003f37389177426062e5ebad32 (patch)
treecd7adb95459679d6fc6cdd7c9e53063d3633c0d7 /token.cgi
parent0a3283b8769cb04d1683981cc2b318a14fa651a1 (diff)
downloadbugzilla-81cfdde56a0386003f37389177426062e5ebad32.tar.gz
bugzilla-81cfdde56a0386003f37389177426062e5ebad32.tar.xz
Bug 177449: When changing email address, old email address confirmation was case sensitive
patch by Vlad Dascalu <jocuri@softhome.net> r= kiko, a= justdave
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 76c1a2e11..b2cd790f4 100755
--- a/token.cgi
+++ b/token.cgi
@@ -229,7 +229,7 @@ sub changeEmail {
my $quotednewemail = SqlQuote($new_email);
# Check the user entered the correct old email address
- if($::FORM{'email'} ne $old_email) {
+ if(lc($::FORM{'email'}) ne lc($old_email)) {
ThrowUserError("email_confirmation_failed");
}
# The new email address should be available as this was