clear up static api token error message
This commit is contained in:
parent
ae8324c5c6
commit
ee9edfcc70
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ def clear_oidc_auth_state(resp: Response):
|
||||||
|
|
||||||
def get_logged_in_token_user(req: Request, token: Optional[str]):
|
def get_logged_in_token_user(req: Request, token: Optional[str]):
|
||||||
if not token or not token.startswith("Static-Token "):
|
if not token or not token.startswith("Static-Token "):
|
||||||
logger.debug("No valid API-Token was provided")
|
logger.debug("No static API-Token was part of the request")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
token = token.removeprefix("Static-Token ")
|
token = token.removeprefix("Static-Token ")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue