Loading core/modules/user/src/AccountForm.php +1 −1 Changes for core/modules/user/src/AccountForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -374,7 +374,7 @@ public function buildEntity(array $form, FormStateInterface $form_state) { } // Set existing password if set in the form state. $current_pass = trim($form_state->getValue('current_pass')); $current_pass = trim($form_state->getValue('current_pass', '')); if (strlen($current_pass) > 0) { $account->setExistingPassword($current_pass); } Loading Loading
core/modules/user/src/AccountForm.php +1 −1 Changes for core/modules/user/src/AccountForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -374,7 +374,7 @@ public function buildEntity(array $form, FormStateInterface $form_state) { } // Set existing password if set in the form state. $current_pass = trim($form_state->getValue('current_pass')); $current_pass = trim($form_state->getValue('current_pass', '')); if (strlen($current_pass) > 0) { $account->setExistingPassword($current_pass); } Loading