Fixed bug
This commit is contained in:
parent
13c2e56e34
commit
30fb3b3cc0
|
@ -215,6 +215,8 @@ class UserController extends Controller
|
|||
}
|
||||
|
||||
public function login(Request $request) {
|
||||
Auth::logout();
|
||||
|
||||
$data = $request->only("email", "password");
|
||||
|
||||
if(Auth::attempt($data)) {
|
||||
|
|
Loading…
Reference in New Issue