Skip to content
Snippets Groups Projects

Issue #3474692 by longwave, foxtrotcharlie, bbrala: Fix...

2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -70,7 +70,7 @@ public static function valueCallback(&$element, $input, FormStateInterface $form
public static function processPasswordConfirm(&$element, FormStateInterface $form_state, &$complete_form) {
$element['pass1'] = [
'#type' => 'password',
'#title' => t('Password'),
'#title' => t('New Password'),
'#value' => empty($element['#value']) ? NULL : $element['#value']['pass1'],
'#required' => $element['#required'],
'#attributes' => [
@@ -81,7 +81,7 @@ public static function processPasswordConfirm(&$element, FormStateInterface $for
];
$element['pass2'] = [
'#type' => 'password',
'#title' => t('Confirm password'),
'#title' => t('Confirm New password'),
'#value' => empty($element['#value']) ? NULL : $element['#value']['pass2'],
'#required' => $element['#required'],
'#attributes' => [
Loading