Closed
Bug 821043
Opened 12 years ago
Closed 12 years ago
Change password disabling to use User.set_unusable_password()
Categories
(support.mozilla.org :: Users and Groups, task, P3)
support.mozilla.org
Users and Groups
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q1
People
(Reporter: rrosario, Assigned: berkerpeksag)
Details
(Whiteboard: u=dev c=general p=0 s=2013.3)
For disabling passwords, we just set them to "PASSWORD_DISABLED". For django 1.4, we had to add a fake hasher (PasswordDisabledHasher) to handle the values.
We should switch to using the set_unusable_password[1] method on the User model. We should be able to delete a bit of code by changing this.
[1] https://github.com/django/django/blob/1.4.2/django/contrib/auth/models.py#L306
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → berker.peksag
Comment 1•12 years ago
|
||
Pull request: https://github.com/mozilla/kitsune/pull/1141
Landed in master in: https://github.com/mozilla/kitsune/commit/e907c54754e402546e290e9fd1535e9ae06a1a11
I haven't pushed this to -stage or -prod, yet. Waiting on marking it FIXED until then.
Comment 2•12 years ago
|
||
Pushed to production earlier today.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 3•12 years ago
|
||
Fixing metadata.
Whiteboard: u=dev c=general p=1 s=2013.? → u=dev c=general p=0 s=2013.3
You need to log in
before you can comment on or make changes to this bug.
Description
•