🆙 More fixes 🆙
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user