From f0b60f712c9dfda216bfb4d204c88256afc1092b 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 Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- 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 321d47c408..75ecdc33f9 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.39.5