Commit a1f5fb51 authored by Clément OUDOT's avatar Clément OUDOT

Test return of getUser (#1654)

parent 906db8da
......@@ -56,7 +56,10 @@ sub authenticate {
my $res = $self->p->{_passwordDB}->_modifyPassword( $req, 1 );
# Refresh entry
$self->p->{_userDB}->getUser($req);
if ( $self->p->{_userDB}->getUser($req) != PE_OK ) {
$self->logger->error(
"Unable to refresh entry for " . $self->p->{user} );
}
# Security: never create session here
return $res || PE_DONE;
......
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