diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/REST.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/REST.pm index b24aa16d7..55ce89506 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/REST.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/REST.pm @@ -8,7 +8,7 @@ use Lemonldap::NG::Portal::Main::Constants qw( PE_OK ); -our $VERSION = '2.0.3'; +our $VERSION = '2.0.6'; extends 'Lemonldap::NG::Portal::Auth::_WebForm', 'Lemonldap::NG::Portal::Lib::REST'; @@ -34,7 +34,7 @@ sub authenticate { { user => $req->user, password => $req->data->{password} } ); }; if ($@) { - $self->logger("Auth error: $@"); + $self->logger->error("Auth error: $@"); $self->setSecurity($req); return PE_ERROR; }