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())