]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 177449: When changing email address, old email address confirmation was case...
authorjustdave%syndicomm.com <>
Wed, 24 Sep 2003 14:44:22 +0000 (14:44 +0000)
committerjustdave%syndicomm.com <>
Wed, 24 Sep 2003 14:44:22 +0000 (14:44 +0000)
patch by Vlad Dascalu <jocuri@softhome.net>
r= kiko, a= justdave

token.cgi

index 76c1a2e11d1928cd0ed77a667719a2f9e2280605..b2cd790f478ef8eb29200c3873e17f5b829fbda7 100755 (executable)
--- 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