fix: update error message for incorrect password in authentication
This commit is contained in:
parent
4a04feacb5
commit
a047ecca11
|
|
@ -39,7 +39,7 @@ public function authenticate(Request $request)
|
|||
// Kalau user ketemu, kita cek passwordnya cocok gak sama yang di database
|
||||
if (!Hash::check($request->password, $user->password)) {
|
||||
return back()->withErrors([
|
||||
'password' => 'Password salah, coba ingat-ingat lagi.', // Error nempel di kolom password
|
||||
'password' => 'Kata sandi salah, coba ingat-ingat lagi.', // Error nempel di kolom password
|
||||
])->onlyInput('username');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue