mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
check for key
This commit is contained in:
parent
dd492fa63c
commit
a4ebf87263
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class AdminController(WebpageController):
|
|||
|
||||
def handle_request(self):
|
||||
config = Config.get()
|
||||
if not config["webadmin_enabled"]:
|
||||
if "webadmin_enabled" not in config or not config["webadmin_enabled"]:
|
||||
self.send_response("Web Admin is disabled", code=403)
|
||||
return
|
||||
if self.authentication.isAuthenticated(self.request):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue