Code

Opened 7 years ago

Closed 7 years ago

Last modified 20 months ago

#4548 closed Uncategorized (worksforme)

create user, typo password, get "confirm pw change" dialog

Reported by: Carl Karsten <carl@…> Owned by: adrian
Component: contrib.admin Version: master
Severity: Normal Keywords: password
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

http://192.168.1.22:8000/admin/auth/user/add/

username: x, password: y, confirm: z, hit Save.

get dialog: "Please confirm which user you are changing the password for" and a list of users, none of which are x.

hit cancel, get the expected error: "The two password fields didn't match."

Attachments (1)

Capture.PNG (45.6 KB) - added by fabiosantosart@… 20 months ago.
Screen capture of dialog.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

Working fine for me... maybe it was fixed somewhere along the way.

Changed 20 months ago by fabiosantosart@…

Screen capture of dialog.

comment:2 Changed 20 months ago by fabiosantosart@…

  • Easy pickings unset
  • Severity set to Normal
  • Type set to Uncategorized
  • UI/UX unset

I'm having the exact same problem on Firefox 14, Windows Server 2008 R2, Django 1.4 and the Django development server.

There is a small difference however. The dialog shows in another view, django.contrib.auth.views.password_change The list of users I get is also different. All users appear. I suppose Django is showing User.objects.all().

When the password you are changing from is the same as the password you are changing to, the dialog does not show up at all.

The dialog seems to be modal, and does not appear in Internet Explorer 9. I have tested no other browsers as of yet.

If the original reporter would show up and say whether he was using Windows Server and/or Firefox we could narrow down the bugs. In the meantime, I will try to reproduce it.

comment:3 Changed 20 months ago by carl@…

Carl here.

5 years later I think I understand, and I don't think this is a django problem at all.

The dialog is coming from the browser's "saved passwords" management system. There might be some meta tags that could be added to tell the browser something, but I don't think it is worth the trouble.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.