mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'bug/general-user-bug' into 'dev'
Fix blank server_detail page for general users See merge request crafty-controller/crafty-4!358
This commit is contained in:
commit
4501e91a0b
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,15 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [4.0.3] - TBD
|
||||
## [4.0.2-hotfix1] - 2022/06/17
|
||||
|
||||
### New features
|
||||
TBD
|
||||
|
||||
### Bug fixes
|
||||
TBD
|
||||
|
||||
### Tweaks
|
||||
TBD
|
||||
### Crit Bug fixes
|
||||
Fix blank server_detail page for general users
|
||||
|
||||
## [4.0.2] - 2022/06/16
|
||||
|
||||
|
@ -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