🆙 More fixes 🆙

This commit is contained in:
Remco committed 2026-01-19 22:19:41 +01:00
1 parent e561acb897
commit 8f2a2fdc37
3 files changed
+27 -13

No files matched your search

@@ -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);
}