My site requires that I turn off the current password validation on the Account Edit Form when changing / specifying a new password.
In D7 I accomplished this via a
hook_form_alter implementation. With Drupal 8's new form api I am unsure of how I can make this alteration.
hook_form_alter still exists, but the values in the
form[#validation] seems to be used differently.
I see in the existing form code that a 'password reset' does exactly what I would like to do, but it's unclear how I can make this modification outside the actual
AccountForm Class, or the
ProtectedUserFieldConstraintValidator implementation of