clear up static api token error message

This commit is contained in:
lilly 2026-07-18 20:49:11 +02:00
commit ee9edfcc70
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g

View file

@ -135,7 +135,7 @@ def clear_oidc_auth_state(resp: Response):
def get_logged_in_token_user(req: Request, token: Optional[str]):
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
token = token.removeprefix("Static-Token ")