symbiote/silverstripe-memberprofiles

Registration Form not returning error with PasswordValidator

Closed this issue · 1 comments

The Registration Form just redirects back to itself (without error message or pre-filled data) if PasswordValidator is being used on the site.

This is happening on a site running framework v3.5.3 with memberprofiles v1.2.x-dev

We discovered that the issue was to do with the extension we had on member profiles (to add extra customised fields). These were being added via updateRegisterForm/updateProfileForm, which was bypassing the validation in the form construction.
Instead, we've now changed it so that the extra fields are being added via updateProfileFields, which in within the form constructor.