diff --git a/fastapi/security/http.py b/fastapi/security/http.py index 24b0a7be0..9f17a600e 100644 --- a/fastapi/security/http.py +++ b/fastapi/security/http.py @@ -430,6 +430,6 @@ class HTTPDigest(HTTPBase): headers={"WWW-Authenticate": "Digest"}, ) else: - return None + return None return HTTPAuthorizationCredentials(scheme=scheme, credentials=credentials)