Commit 8b762180 authored by Clément OUDOT's avatar Clément OUDOT

Fix error message for ppolicy (#1639)

parent 70994bd7
...@@ -190,7 +190,7 @@ sub userBind { ...@@ -190,7 +190,7 @@ sub userBind {
my $pp_error = $resp->pp_error; my $pp_error = $resp->pp_error;
if ( defined $pp_error ) { if ( defined $pp_error ) {
$self->{portal}->userLogger->error( $self->{portal}->userLogger->error(
"Password policy error $pp_error for $self->{portal}->{user}"); "Password policy error $pp_error for ".$req->user);
return [ return [
PE_PP_PASSWORD_EXPIRED, PE_PP_PASSWORD_EXPIRED,
PE_PP_ACCOUNT_LOCKED, PE_PP_ACCOUNT_LOCKED,
......
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