Fixed #34565 -- Added support for async checking of user passwords.#16855
Fixed #34565 -- Added support for async checking of user passwords.#16855felixxm merged 1 commit intodjango:mainfrom HappyDingning:acheck_password
Conversation
There was a problem hiding this comment.
Hello! Thank you for your contribution 💪
As it's your first contribution be sure to check out the patch review checklist.
If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!
If you have any design or process questions then you can ask in the Django forum.
Welcome aboard ⛵️!
felixxm
left a comment
There was a problem hiding this comment.
@HappyDingning Thanks 👍 Please fix linter errors. Also, docs changes and release notes are missing. We should document User.acheck_password(), AbstractBaseUser.acheck_password(), and acheck_password().
|
@felixxm Hello, I implemented the In addition, regarding the release document, which version of the document should I write in? 4.2.2 or 5.0? Thank you. |
I'm not sure what
There is no need to upload pictures, just submit doc changes and we will review.
5.0 |
Ok, thanks for your patient reply, I will upload the document as soon as possible |
|
@HappyDingning Thanks 👍 Welcome aboard ⛵ I pushed small edits. |
Thanks a lot for helping me optimize my code.😊 I will check for checks failure issues as soon as possible |
No need, this test is flaky, |
Thank you very much for your review and tidying up the code |

Add
acheck_passwordmethod and its unit tests. This method will call the async setter function to update the password field of the user table when thesettings.PASSWORD_HASHERSis changed.