From: Rafal Skolasinski Date: Mon, 15 Jan 2024 20:41:47 +0000 (+0000) Subject: ✏️ Fix typo in `fastapi/security/oauth2.py` (#10972) X-Git-Tag: 0.109.1~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8450dc204d806bac021c6a2432d7b4a0749e77cd;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix typo in `fastapi/security/oauth2.py` (#10972) --- diff --git a/fastapi/security/oauth2.py b/fastapi/security/oauth2.py index 9281dfb64f..be3e18cd80 100644 --- a/fastapi/security/oauth2.py +++ b/fastapi/security/oauth2.py @@ -353,7 +353,7 @@ class OAuth2(SecurityBase): bool, Doc( """ - By default, if no HTTP Auhtorization header is provided, required for + By default, if no HTTP Authorization header is provided, required for OAuth2 authentication, it will automatically cancel the request and send the client an error.