Commit dab5921d authored by Xavier Guimard's avatar Xavier Guimard

Enable _Webform init (#595)

parent 3cdd87b5
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment