Skip to content

Commit ad12b66

Browse files
authored
Minor: Update language term to use existing term
1 parent e9a151e commit ad12b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Controller/AccountController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function changePassword(
200200
if ($newPassword || $confirmPassword || $currentPassword) {
201201
if (!$userRepository->isPasswordValid($user, $currentPassword)) {
202202
$form->get('currentPassword')->addError(new FormError(
203-
$this->translator->trans('The current password is incorrect.')
203+
$this->translator->trans('The current password is incorrect')
204204
));
205205
} elseif ($newPassword !== $confirmPassword) {
206206
$form->get('confirmPassword')->addError(new FormError(

0 commit comments

Comments
 (0)