Browse Source

refactor: remove debug print statement

pull/13326/head
Manish 1 month ago
parent
commit
41de2dc433
  1. 1
      fastapi/security/http.py

1
fastapi/security/http.py

@ -87,7 +87,6 @@ class HTTPBase(SecurityBase):
scheme, credentials = get_authorization_scheme_param(authorization)
if not (authorization and scheme and credentials):
if self.auto_error:
print(scheme)
raise HTTPException(
status_code=HTTP_401_UNAUTHORIZED,
detail="Not authenticated",

Loading…
Cancel
Save