Commit 546dc8b
🔒 Update login.py to receive password as body (#33)
Change `new_password` from a query parameter to a body parameter for security.
(Why this is problematic is discussed in the top answer to https://stackoverflow.com/questions/2629222/are-querystring-parameters-secure-in-https-http-ssl)1 parent eae33cd commit 546dc8b
File tree
1 file changed
+2
-2
lines changed- {{cookiecutter.project_slug}}/backend/app/app/api/api_v1/endpoints
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments