Reputation: 59
I'm creating a Laravel app with membership. I'm using breeze to manage that. Recently I've added the verification e-mail function and from here, my error messages are not shown correctly.
For example, if the authentication failed, normally the app have to show "The e-mail or the password provided are not corresponding" and now the app just show "auth.failed".
I don't know if it's related to the e-mail verification function that i've added recently, but I have never seen this issue.
Thank you for your help
I have try to see if there is an array created by breeze with the error messages like this :
$messages = array(
'email.required' => 'We need to know your e-mail address!',
);
And I didn't find anything.
I don't know where breeze write the error messages, so I have not done a lot of things.
Upvotes: 0
Views: 69
Reputation: 59
So I have discovered what was wrong. I had just try to change the lang in the .env file, but I have not create a lang file for this. As it was a test I think I forgot to put the initial parameters.
So You can close this answer.
Thank you for your help :)
Upvotes: 1