WIP on access

This commit is contained in:
dgtlmoon
2022-05-20 16:00:34 +02:00
parent 6bc1c681ec
commit 4cf2d9d7aa
3 changed files with 73 additions and 15 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ def check_token(f):
if config_api_token_enabled and api_key_header != config_api_token:
return make_response(
jsonify("Invalid access - API key invalid.", 403)
jsonify("Invalid access - API key invalid."), 403
)
return f(*args, **kwargs)