Laravel:如何更改默认登录错误消息:'这些凭据与我们的记录不匹配'

S M*_*rul 5 php laravel laravel-5.2

我想更改默认登录验证错误消息,如:

Username & Password doesn't match
Run Code Online (Sandbox Code Playgroud)

代替

these credentials do not match our records
Run Code Online (Sandbox Code Playgroud)

这该怎么做 ?

Ale*_*nin 12

您可以在此文件中将此消息更改为另一个消息:

resources/lang/en/auth.php
Run Code Online (Sandbox Code Playgroud)

这是一行:

'failed' => 'These credentials do not match our records.',
Run Code Online (Sandbox Code Playgroud)