diff --git a/app/Http/Controllers/CustomerController.php b/app/Http/Controllers/CustomerController.php index 7e271b43..3f5b2b4d 100644 --- a/app/Http/Controllers/CustomerController.php +++ b/app/Http/Controllers/CustomerController.php @@ -342,9 +342,13 @@ class CustomerController extends Controller case 107: return back() ->withErrors("Veuillez vérifier que vous avez correctement rempli les champs obligatoires."); - case 108 || 109: + case 108: + case 109: return back() - ->withErrors("Changement impossible, compte inexistant."); + ->withErrors(trans('Changement impossible, compte inexistant.')); + case 123: + return back() + ->withErrors(trans('Vous ne pouvez utilisez un de vos anciens mots de passe')); default: return back() ->withErrors("Une erreur est survenue, merci de réessayer ultérieurement.");