Browse Source

Fixed typos in OAuth2PasswordRequestForm and in OAuth2PasswordRequestFormStrict

pull/14112/head
alv2017 10 months ago
parent
commit
ace1863cd8
  1. 4
      fastapi/security/oauth2.py

4
fastapi/security/oauth2.py

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

Loading…
Cancel
Save