Fix getDisplayType call in Multi backend (#593)
This commit is contained in:
parent
0ec77fde48
commit
ca1b0db0d2
|
@ -7,7 +7,7 @@ package Lemonldap::NG::Portal::AuthMulti;
|
|||
|
||||
use Lemonldap::NG::Portal::_Multi; #inherits
|
||||
|
||||
our $VERSION = '1.2.2';
|
||||
our $VERSION = '1.2.4';
|
||||
|
||||
sub authInit {
|
||||
my $self = shift;
|
||||
|
@ -46,10 +46,7 @@ sub authForce {
|
|||
|
||||
sub getDisplayType {
|
||||
my $self = shift;
|
||||
my $s =
|
||||
"Lemonldap::NG::Portal::Auth"
|
||||
. $self->{_multi}->{last}->[0]
|
||||
. "::getDisplayType";
|
||||
my $s = $self->{_multi}->{last}->[0] . "::getDisplayType";
|
||||
return &{$s};
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ package Lemonldap::NG::Portal::_Multi;
|
|||
|
||||
use Lemonldap::NG::Portal::Simple;
|
||||
|
||||
our $VERSION = '1.2.2';
|
||||
our $VERSION = '1.2.4';
|
||||
|
||||
## @cmethod Lemonldap::NG::Portal::_Multi new(Lemonldap::NG::Portal::Simple portal)
|
||||
# Constructor
|
||||
|
@ -69,7 +69,7 @@ sub try {
|
|||
my $ci;
|
||||
|
||||
# Store last module used
|
||||
$self->{last}->[$type] = $old;
|
||||
$self->{last}->[$type] = $self->{stack}->[$type]->[0]->{m};
|
||||
|
||||
if ( $ci = $self->{p}->safe->reval( $self->{stack}->[$type]->[0]->{c} ) ) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user