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 <jonathan.druart@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
28eb6db0d1
commit
f0b60f712c
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue