mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-24 02:38:13 -05:00
📝 Add warning about storing user passwords (#1336)
This commit is contained in:
committed by
GitHub
parent
59f7e66ac3
commit
3fa033d8d5
@@ -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.
|
||||
|
||||
!!! 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user