New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed #34565 -- Added support for async checking of user passwords. #16855
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 ⛵️!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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_password
method and its unit tests. This method will call the async setter function to update the password field of the user table when thesettings.PASSWORD_HASHERS
is changed.