22402 Posts in 6882 Topics by 2748 members
|Go to End|
29 September 2011 at 8:53pm
I am having a bit of a weird problem which I can't figure out. The problem is when editing a Member in admin it loses their password. I have done some investigation and this doesn't happen in Chrome or FF, only IE.
Checking the network traffic it looks like in IE when you save the member it is sending the password as NULL, whereas in Chrome & FF it send the hash eg...
In IE the POST to /admin/security/EditForm/field/Members/item/2/DetailForm show the following:
Whereas in Chrome & FF it shows as:
So it looks like we need to send the hash in order for it to keep the password, it looks to me like when it sends NULL it is updating the password.
Any idea how I can fix this?
30 September 2011 at 12:47am
OK, so it looks like I've figured it out, but it is a bug I think.
It turns out that if I set showOnClick to be false in ConfirmedPasswordField then the correct values are posted (but the password boxes show by default in the edit screen)
So it looks like IE is not posting the values of hidden fields for some reason.
I would prefer to have showOnClick to be set to true, so if anyone can shed any light on why this might be it would be appreciated.
|Go to Top|