mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix blank server_detail page for general users
This commit is contained in:
parent
8a44e8eac2
commit
e435292a52
@ -183,6 +183,7 @@ class PanelHandler(BaseHandler):
|
||||
logger.debug(f'User {exec_user["user_id"]} does not have permission')
|
||||
self.redirect("/panel/error?error=Invalid Server ID")
|
||||
return None
|
||||
return server_id
|
||||
|
||||
# Server fetching, spawned asynchronously
|
||||
# TODO: Make the related front-end elements update with AJAX
|
||||
|
Loading…
Reference in New Issue
Block a user