#18460: In admin, the history for model User shows always a change in password,
although it is not changed
---------------------------------+------------------------------------
     Reporter:  jose.sanchez@…   |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  contrib.admin    |                  Version:  1.5
     Severity:  Normal           |               Resolution:
     Keywords:  admin, password  |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by anonymous):

 * status:  closed => new
 * version:  1.4 => 1.5
 * resolution:  fixed =>


Comment:

 I'm still experiencing this issue when using a custom User model. If I
 comment out the line:

 password = ReadOnlyPasswordHashField()

 in my CustomUserChangeForm class, then saves with no changes are correctly
 logged with "No fields changed." However, then I'm able to see and edit
 the hash. Once the line is back in my code, every save results in a
 "Changed password." log entry.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18460#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.00177ed14ba4d8721408d52f257894b3%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to