setSecurity method for Combination (#2009)
This commit is contained in:
parent
823c9e9fe1
commit
c2c11342ac
|
@ -6,7 +6,7 @@ use Lemonldap::NG::Common::Combination::Parser;
|
||||||
use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_ERROR PE_FIRSTACCESS);
|
use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_ERROR PE_FIRSTACCESS);
|
||||||
use Scalar::Util 'weaken';
|
use Scalar::Util 'weaken';
|
||||||
|
|
||||||
our $VERSION = '2.0.6';
|
our $VERSION = '2.0.7';
|
||||||
|
|
||||||
# TODO: See Lib::Wrapper
|
# TODO: See Lib::Wrapper
|
||||||
extends 'Lemonldap::NG::Portal::Main::Auth';
|
extends 'Lemonldap::NG::Portal::Main::Auth';
|
||||||
|
@ -152,16 +152,17 @@ sub authForce {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sub setSecurity {
|
sub setSecurity {
|
||||||
# my $self = shift;
|
my $self = shift;
|
||||||
# my ($req) = @_;
|
my ($req) = @_;
|
||||||
# $self->getStack( $req, 'extractFormInfo' ) or return PE_ERROR;
|
$self->getStack( $req, 'extractFormInfo' ) or return;
|
||||||
# $req->userData->{_combinationTry} ||= 0;
|
eval {
|
||||||
# eval {
|
$req->data->{combinationStack}
|
||||||
# $req->data->{combinationStack}->[ $req->userData->{_combinationTry} ]
|
->[ $req->data->{dataKeep}->{combinationTry} ]->[0]
|
||||||
# ->[0]->( 'setSecurity', @_ );
|
->( 'setSecurity', @_ );
|
||||||
# };
|
};
|
||||||
#}
|
$self->logger->debug($@) if ($@);
|
||||||
|
}
|
||||||
|
|
||||||
## UserDB steps
|
## UserDB steps
|
||||||
###############
|
###############
|
||||||
|
|
Loading…
Reference in New Issue
Block a user