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