mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-10 12:36:48 +00:00
📝 Add warning about storing user passwords (#1336)
This commit is contained in:
parent
59f7e66ac3
commit
3fa033d8d5
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ In this case, it might not be a problem, because the user himself is sending the
|
||||||
But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
|
But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
|
||||||
|
|
||||||
!!! danger
|
!!! danger
|
||||||
Never send the plain password of a user in a response.
|
Never store the plain password of a user or send it in a response.
|
||||||
|
|
||||||
## Add an output model
|
## Add an output model
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue