]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:pencil2: Update doc string with correct class name (#1126)
authoradg-mh <40580891+adg-mh@users.noreply.github.com>
Fri, 27 Mar 2020 16:18:23 +0000 (11:18 -0500)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2020 16:18:23 +0000 (17:18 +0100)
fastapi/security/oauth2.py

index 781293bb9570de05170a0ba516142ba4daf4ec0f..c9edbae428c3cf720a84e2e9a35bf61d1cfdf86a 100644 (file)
@@ -81,7 +81,7 @@ class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm):
 
     grant_type: the OAuth2 spec says it is required and MUST be the fixed string "password".
         This dependency is strict about it. If you want to be permissive, use instead the
-        OAuth2PasswordRequestFormStrict dependency class.
+        OAuth2PasswordRequestForm dependency class.
     username: username string. The OAuth2 spec requires the exact field name "username".
     password: password string. The OAuth2 spec requires the exact field name "password".
     scope: Optional string. Several scopes (each one a string) separated by spaces. E.g.