Missing translation with wrong password

This commit is contained in:
Riotteau
2014-08-13 18:01:47 +02:00
committed by root
parent aa92585794
commit 0965a846a5
4 changed files with 10 additions and 8 deletions

View File

@@ -314,11 +314,11 @@ class CustomerController extends BaseFrontController
return RedirectResponse::create($successUrl);
} catch (UsernameNotFoundException $e) {
$message = "Wrong email or password. Please try again";
$message = Translator::getInstance()->trans("Wrong email or password. Please try again");
} catch (WrongPasswordException $e) {
$message = "Wrong email or password. Please try again";
$message = Translator::getInstance()->trans("Wrong email or password. Please try again");
} catch (AuthenticationException $e) {
$message = "Wrong email or password. Please try again";
$message = Translator::getInstance()->trans("Wrong email or password. Please try again");
}
}