rappasoft/laravel-boilerplate

Language problem for two-step authentication

0xlimon opened this issue · 3 comments

in disable two-step login, although the user has selected another language, but the errors are displayed in English.
Is there a solution to this problem?

This error? https://github.com/rappasoft/laravel-boilerplate/blob/master/app/Domains/Auth/Http/Middleware/TwoFactorAuthenticationStatus.php#L34

No, this error : The Code is invalid or has expired. which is displayed in English only in the Disable two-step authentication form
(The text of this error is in the laraguard package )

That's not me, it's in the Laraguard package. But you should be able to override it: https://github.com/DarkGhostHunter/Laraguard/blob/master/resources/lang/en/validation.php#L4