From 81cfdde56a0386003f37389177426062e5ebad32 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 24 Sep 2003 14:44:22 +0000 Subject: Bug 177449: When changing email address, old email address confirmation was case sensitive patch by Vlad Dascalu r= kiko, a= justdave --- token.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'token.cgi') 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 -- cgit v1.2.3-24-g4f1b