From efe6efcbd0147ffa80eb54f3e799caa196ae0ce1 Mon Sep 17 00:00:00 2001 From: ibnu Date: Wed, 8 Feb 2023 22:00:06 +0700 Subject: [PATCH] update bug fix login --- app/Http/Controllers/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php index d898cf9..bb31e8c 100644 --- a/app/Http/Controllers/AuthController.php +++ b/app/Http/Controllers/AuthController.php @@ -31,7 +31,7 @@ class AuthController extends Controller $usernameCheck = false; $passwordCheck = false; - if (User::where('username', $username)->exist()) + if (User::where('username', $username)->exists()) $usernameCheck = true; if (User::where('password', md5($password))->exists())