We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a151e commit ad12b66Copy full SHA for ad12b66
src/CoreBundle/Controller/AccountController.php
@@ -200,7 +200,7 @@ public function changePassword(
200
if ($newPassword || $confirmPassword || $currentPassword) {
201
if (!$userRepository->isPasswordValid($user, $currentPassword)) {
202
$form->get('currentPassword')->addError(new FormError(
203
- $this->translator->trans('The current password is incorrect.')
+ $this->translator->trans('The current password is incorrect')
204
));
205
} elseif ($newPassword !== $confirmPassword) {
206
$form->get('confirmPassword')->addError(new FormError(
0 commit comments