Browse Source

✏️ Fix typos in OAuth2 password request forms (#14112)

Fixed typos in OAuth2PasswordRequestForm and in OAuth2PasswordRequestFormStrict
pull/14117/head
alv2017 1 week ago
committed by GitHub
parent
commit
3eb2ee7510
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      fastapi/security/oauth2.py

4
fastapi/security/oauth2.py

@ -89,7 +89,7 @@ class OAuth2PasswordRequestForm:
Doc( Doc(
""" """
`password` string. The OAuth2 spec requires the exact field name `password` string. The OAuth2 spec requires the exact field name
`password". `password`.
""" """
), ),
], ],
@ -243,7 +243,7 @@ class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm):
Doc( Doc(
""" """
`password` string. The OAuth2 spec requires the exact field name `password` string. The OAuth2 spec requires the exact field name
`password". `password`.
""" """
), ),
], ],

Loading…
Cancel
Save