Commit ba7dab03 authored by Maxime Besson's avatar Maxime Besson

Allow setSecurity to be used in Combination (#2009)

parent 653533b2
Pipeline #7022 failed with stage
in 18 minutes and 31 seconds
......@@ -68,6 +68,7 @@ sub setSecurity {
last;
}
}
PE_OK;
}
1;
......@@ -237,7 +237,8 @@ sub name {
sub setSecurity {
my ( $self, $req ) = @_;
return $self->try(0, 'setSecurity', $req);
$self->try(0, 'setSecurity', $req);
PE_OK;
}
package Lemonldap::NG::Portal::Lib::Combination::UserLogger;
......
......@@ -176,6 +176,8 @@ sub setSecurity {
elsif ( $self->ottRule->( $req, {} ) ) {
$self->ott->setToken($req);
}
PE_OK;
}
1;
......@@ -589,7 +589,7 @@ sub setSecurity {
elsif ( $self->ottRule->( $req, {} ) ) {
$self->ott->setToken($req);
}
return 1;
return PE_OK;
}
sub display {
......
......@@ -520,7 +520,7 @@ sub setSecurity {
elsif ( $self->ottRule->( $req, {} ) ) {
$self->ott->setToken($req);
}
return 1;
return PE_OK;
}
sub display {
......
......@@ -536,6 +536,7 @@ sub setSecurity {
elsif ( $self->ottRule->( $req, {} ) ) {
$self->ott->setToken($req);
}
PE_OK;
}
1;
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