Authen::Captcha must not be automaticaly loaded

This commit is contained in:
Xavier Guimard 2012-11-03 05:29:55 +00:00
parent 76946e1bc6
commit f6103b6884

View File

@ -12,7 +12,6 @@ use Exporter 'import';
use warnings;
use MIME::Base64;
use Authen::Captcha;
use Lemonldap::NG::Common::CGI;
use CGI::Cookie;
use POSIX qw(strftime);
@ -766,6 +765,8 @@ sub buildHiddenForm {
# init captcha module and generate captcha
# @return nothing
sub initCaptcha {
require Authen::Captcha;
my $self = shift;
# Store captcha data