From: justdave%syndicomm.com <> Date: Wed, 24 Sep 2003 14:44:22 +0000 (+0000) Subject: Bug 177449: When changing email address, old email address confirmation was case... X-Git-Tag: bugzilla-2.17.5~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81cfdde56a0386003f37389177426062e5ebad32;p=thirdparty%2Fbugzilla.git Bug 177449: When changing email address, old email address confirmation was case sensitive patch by Vlad Dascalu r= kiko, a= justdave --- diff --git a/token.cgi b/token.cgi index 76c1a2e11d..b2cd790f47 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