Allow setSecurity to be used in Combination (#2009)

2009-display-authentication-error-on-login-form-with-combination-kerberos-ldap
Maxime Besson 6 years ago
parent 653533b273
commit ba7dab0330
  1. 1
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Choice.pm
  2. 3
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Combination.pm
  3. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/_WebForm.pm
  4. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/CertificateResetByMail.pm
  5. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm
  6. 1
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Register.pm

@ -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;

Loading…
Cancel
Save