Hello,
I'm setting up a basic login/register/edit profile sequence and am having a minor problem with it I'm hoping someone can help me with.
I have a ConfirmedPasswordField in my edit profile page that loads details from the $Member. I can save and edit here just fine but the minor problem is that I think it's showing the sha1 characters in the circled out characters for existing passwords.
e.g. I create a user with a password of 'elf' and then go to the edit profile screen. The change password and confirm password fields have content in them that is, I'm guessing, the sha1 code i.e. instead of seeing *** in the fields, I see ********************************************************
Is there a way I can get the hidden characters to reflect the actual length of the password? I'm not sure if this is possible...
The other potential solution was mentioned here ( http://api.silverstripe.org/2.4/forms/fields-formattedinput/ConfirmedPasswordField.html#methodperformReadonlyTransformation ) where the poster suggested making the password fields empty and then not saving them. I can do this but that then triggers validation. If I turn off the validation then they can potentially set their passwords to an empty string.
So...not the biggest problem in the world but wondering if i'm the only one who has experienced it?
Any help appreciated.
Regards,
Andrew