Fixed bug

This commit is contained in:
frederikpyt 2020-07-29 14:50:09 +02:00
parent 30fb3b3cc0
commit d6fc1b63b0
1 changed files with 1 additions and 2 deletions

View File

@ -211,12 +211,11 @@ class UserController extends Controller
/*******************************************/
public function showLogin() {
Auth::logout();
return Response::detect("users.login");
}
public function login(Request $request) {
Auth::logout();
$data = $request->only("email", "password");
if(Auth::attempt($data)) {