|
|
@ -31,7 +31,7 @@ class AuthController extends Controller |
|
|
|
$usernameCheck = false; |
|
|
|
$usernameCheck = false; |
|
|
|
$passwordCheck = false; |
|
|
|
$passwordCheck = false; |
|
|
|
|
|
|
|
|
|
|
|
if (User::where('username', $username)->exist()) |
|
|
|
if (User::where('username', $username)->exists()) |
|
|
|
$usernameCheck = true; |
|
|
|
$usernameCheck = true; |
|
|
|
|
|
|
|
|
|
|
|
if (User::where('password', md5($password))->exists()) |
|
|
|
if (User::where('password', md5($password))->exists()) |
|
|
|