Skip to content
Snippets Groups Projects
Commit 61043473 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix error case output

parent 08020cb6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment