From a047ecca11f0cb23228f4f8bc2b12559b570cdfe Mon Sep 17 00:00:00 2001 From: LailaWulandarii Date: Thu, 29 Jan 2026 15:10:30 +0700 Subject: [PATCH] fix: update error message for incorrect password in authentication --- app/Http/Controllers/Admin/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/AuthController.php b/app/Http/Controllers/Admin/AuthController.php index 30607f8..af80a9d 100644 --- a/app/Http/Controllers/Admin/AuthController.php +++ b/app/Http/Controllers/Admin/AuthController.php @@ -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'); }