Enable _Webform init (#595)
This commit is contained in:
parent
3cdd87b5d4
commit
dab5921d64
|
@ -9,6 +9,14 @@ our $VERSION = '2.0.0';
|
|||
extends 'Lemonldap::NG::Portal::Auth::_WebForm',
|
||||
'Lemonldap::NG::Portal::Lib::DBI';
|
||||
|
||||
# INTIALIZATION
|
||||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
return ( $self->Lemonldap::NG::Portal::Auth::_WebForm::init
|
||||
and $self->Lemonldap::NG::Portal::Lib::DBI::init );
|
||||
}
|
||||
|
||||
# RUNNING METHODS
|
||||
|
||||
sub authenticate {
|
||||
|
|
|
@ -25,7 +25,7 @@ sub init {
|
|||
"Using demonstration mode, go to Manager to edit the configuration",
|
||||
'warn' );
|
||||
|
||||
1;
|
||||
return $self->Lemonldap::NG::Portal::Auth::_WebForm::init();
|
||||
}
|
||||
|
||||
# RUNNING METHODS
|
||||
|
|
|
@ -13,7 +13,8 @@ extends
|
|||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
return $self->Lemonldap::NG::Portal::Lib::LDAP::init;
|
||||
return $self->Lemonldap::NG::Portal::Auth::_WebForm::init
|
||||
and $self->Lemonldap::NG::Portal::Lib::LDAP::init;
|
||||
}
|
||||
|
||||
# RUNNING METHODS
|
||||
|
|
|
@ -12,6 +12,7 @@ extends 'Lemonldap::NG::Portal::Auth::_WebForm';
|
|||
|
||||
sub init {
|
||||
my ($self) = @_;
|
||||
return 0 unless $self->Lemonldap::NG::Portal::Auth::_WebForm::init();
|
||||
if ( $self->conf->{proxyUseSoap} ) {
|
||||
extends 'Lemonldap::NG::Portal::Lib::SOAPProxy',
|
||||
'Lemonldap::NG::Portal::Auth::_WebForm';
|
||||
|
|
Loading…
Reference in New Issue
Block a user