diff -u b/core/modules/user/src/ProfileForm.php b/core/modules/user/src/ProfileForm.php --- b/core/modules/user/src/ProfileForm.php +++ b/core/modules/user/src/ProfileForm.php @@ -89,8 +89,8 @@ // Log the mail. if (!empty($mail)) { - $this->getLogger('user')->notice('Welcome message has been resent to %name at %email.', ['%name' => $account->getAccountName(), '%email' => $account->getEmail()]); - $this->messenger()->addMessage($this->t('Welcome message has been resent to %name at %email', ['%name' => $account->getAccountName(), '%email' => $account->getEmail()])); + $this->getLogger('user')->notice('Welcome message has been sent to %name at %email.', ['%name' => $account->getAccountName(), '%email' => $account->getEmail()]); + $this->messenger()->addMessage($this->t('Welcome message has been sent to %name at %email', ['%name' => $account->getAccountName(), '%email' => $account->getEmail()])); } else { $this->getLogger('user')->notice('There was an error sending the welcome message to %name at %email', ['%name' => $account->getAccountName(), '%email' => $account->getEmail()]);