Fixed bug

This commit is contained in:
frederikpyt 2020-07-29 14:36:11 +02:00
parent 13c2e56e34
commit 30fb3b3cc0
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,8 @@ class UserController extends Controller
}
public function login(Request $request) {
Auth::logout();
$data = $request->only("email", "password");
if(Auth::attempt($data)) {