🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 22:19:41 +01:00
parent e561acb897
commit 8f2a2fdc37
3 changed files with 27 additions and 13 deletions
@@ -15,7 +15,7 @@ class LogViewerMiddleware
return to_route('login');
}
if (hasPermission('view_server_logs') === '' || hasPermission('view_server_logs') === '0') {
if (! hasPermission('view_server_logs')) {
abort(403);
}