clarify REST log messages

This commit is contained in:
Maxime Besson 2021-03-17 14:22:19 +01:00
parent 19f9221707
commit 96a667cf2e
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ sub init {
# Add warning in log
unless ( $self->conf->{restAuthUrl} ) {
$self->logger->error('No Auth REST URL given');
$self->logger->error('No REST Authentication URL given');
return 0;
}

View File

@ -24,11 +24,11 @@ sub init {
# Add warning in log
unless ( $self->conf->{restUserDBUrl} ) {
$self->logger->error('User REST URL ids not set');
$self->logger->error('REST User data URL is not set');
return 0;
}
if ( !$self->conf->{restFindUserDBUrl} && $self->conf->{findUser} ) {
$self->logger->error('findUser REST URL is not set');
$self->logger->error('REST User accounts URL is not set');
return 0;
}
return 1;