From 6104347345b412e7720e196853f6f0fef30c3ba0 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 1 Feb 2022 16:28:42 +0100 Subject: [PATCH] fix error case output --- lib/AccountManager/App/Status.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/AccountManager/App/Status.pm b/lib/AccountManager/App/Status.pm index e4e680e..9bb1eaf 100644 --- a/lib/AccountManager/App/Status.pm +++ b/lib/AccountManager/App/Status.pm @@ -36,7 +36,7 @@ sub run { if (!$config->{status}) { $self->render( status => 403, - test => "unauthorized access" + text => "unauthorized access" ); return; } @@ -47,7 +47,7 @@ sub run { if (none { network_contains($_, $client_ip) } @allowed_ips) { $self->render( status => 403, - test => "unauthorized access" + text => "unauthorized access" ); return; } -- GitLab