-
Notifications
You must be signed in to change notification settings - Fork 144
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
Set unusable password for new created users #398
Comments
If the user is not present on the system (when the user is first created), then this code will be triggered djangosaml2/djangosaml2/backends.py Lines 291 to 298 in 169fc48
And, this does not set an unusable password. |
@peppelinux I opened #399 after updating an existing test case to verify that the created user has a Please check the logs of the Ci build https://github.com/IdentityPython/djangosaml2/actions/runs/7913492573/job/21601260980?pr=399#step:5:740 |
* Fix: New created users will have unusable password Closes #398 * Bump version to 1.9.2
I see the changelog mentions setting unusable password on the user object, but I can't find it in the code.
https://github.com/IdentityPython/djangosaml2/blob/169fc486fc387a0ed57ae01ee67140a424a83a46/CHANGES#L386C1-L388C70
Perhaps, this change was lost while deprecating
configure_user
method?The text was updated successfully, but these errors were encountered: