Browse Source

update bug fix login

pull/3/head
ibnu 2 years ago
parent
commit
efe6efcbd0
  1. 2
      app/Http/Controllers/AuthController.php

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

Loading…
Cancel
Save