]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏ Fix typo in Security OAuth2 scopes (#2407)
authorJürgen Gmach <juergen.gmach@googlemail.com>
Sun, 7 Feb 2021 18:13:41 +0000 (19:13 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Feb 2021 18:13:41 +0000 (19:13 +0100)
docs/en/docs/advanced/security/oauth2-scopes.md

index c40695ba6c04431a7a5547791cffbf6468b5186f..4bd9cfd0470ccd5f5e8f0e7d30b696524ced741a 100644 (file)
@@ -157,7 +157,7 @@ The `security_scopes` object (of class `SecurityScopes`) also provides a `scope_
 
 We create an `HTTPException` that we can re-use (`raise`) later at several points.
 
-In this exception, we include the scopes required (if any) as a string separated by spaces (using `scope_str`). We put that string containing the scopes in in the `WWW-Authenticate` header (this is part of the spec).
+In this exception, we include the scopes required (if any) as a string separated by spaces (using `scope_str`). We put that string containing the scopes in the `WWW-Authenticate` header (this is part of the spec).
 
 ```Python hl_lines="105  107-115"
 {!../../../docs_src/security/tutorial005.py!}