Fixed bug
This commit is contained in:
parent
30fb3b3cc0
commit
d6fc1b63b0
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue