Authen::Captcha must not be automaticaly loaded
This commit is contained in:
parent
76946e1bc6
commit
f6103b6884
|
@ -12,7 +12,6 @@ use Exporter 'import';
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use MIME::Base64;
|
use MIME::Base64;
|
||||||
use Authen::Captcha;
|
|
||||||
use Lemonldap::NG::Common::CGI;
|
use Lemonldap::NG::Common::CGI;
|
||||||
use CGI::Cookie;
|
use CGI::Cookie;
|
||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
|
@ -766,6 +765,8 @@ sub buildHiddenForm {
|
||||||
# init captcha module and generate captcha
|
# init captcha module and generate captcha
|
||||||
# @return nothing
|
# @return nothing
|
||||||
sub initCaptcha {
|
sub initCaptcha {
|
||||||
|
require Authen::Captcha;
|
||||||
|
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
# Store captcha data
|
# Store captcha data
|
||||||
|
|
Loading…
Reference in New Issue
Block a user