mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
fix js error on change password (#4475)
This commit is contained in:
@@ -137,10 +137,10 @@ class LoginController extends Controller
|
||||
{
|
||||
$response = $this->app->json([
|
||||
'validation_blank' => $this->app->trans('Please provide a value.'),
|
||||
'validation_choice_min' => $this->app->trans('Please select at least %s choice.'),
|
||||
'validation_choice_min' => $this->app->trans('Please select at least %s choice.', ['%s' => 1]),
|
||||
'validation_email' => $this->app->trans('Please provide a valid email address.'),
|
||||
'validation_ip' => $this->app->trans('Please provide a valid IP address.'),
|
||||
'validation_length_min' => $this->app->trans('Please provide a longer value. It should have %s character or more.'),
|
||||
'validation_length_min' => $this->app->trans('Please provide a longer value. It should have %s character or more.', ['%s' => 5]),
|
||||
'password_match' => $this->app->trans('Please provide the same passwords.'),
|
||||
'email_match' => $this->app->trans('Please provide the same emails.'),
|
||||
'accept_tou' => $this->app->trans('Please accept the terms of use to register.'),
|
||||
|
Reference in New Issue
Block a user