From 1a48c05855c2b78460ecf9bba230e5c1ff55ab3f Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 18 Dec 2012 10:55:25 -0500 Subject: [PATCH] Bug 16283 - Make OPAC registration captcha case insensitive The OPAC registration captcha should not be case sensitive. This patch was moved here from bug 9393. Test Plan: 1) Enable patron self registration 2) Test the captcha by typing in the captcha in lower case. Registration should still succeed. Signed-off-by: Jonathan Druart --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 321d47c..75ecdc3 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -102,7 +102,7 @@ if ( $action eq 'create' ) { ); } elsif ( - md5_base64( $cgi->param('captcha') ) ne $cgi->param('captcha_digest') ) + md5_base64( uc( $cgi->param('captcha') ) ) ne $cgi->param('captcha_digest') ) { $template->param( failed_captcha => 1, -- 2.1.4