I’ve come across an annoying problem with the custom properties added to Sitecore User Profile.
I’ve added a password field to the custom user profile, but this field will not prepopulate the value on load, so if I make changes to other fields and save, it will overwrite the existing password with a blank, unless I type in the password again on every edit.
For example,
Custom User Profile original saved data:
1. phone number = 123.456.7890
2. password = 1234
Edit phone number only and save:
1. phone number = 123.123.1234
2. password = [blank]
The problem is because the password field always display as blank on loading, is there a way to make this field fetch the data and mask it? Or do we have to overwrite the existing Sitecore field resolver class to ignore blank space?
Thank you.
After checking with Sitecore documents…
There is no way to handle this without rewriting the Security API. As the user profile template only handles basic text field type.