auth: fix call to renamed method

This commit is contained in:
Matthew Penner 2021-01-14 10:36:05 -07:00
parent e2c8a2fdea
commit 4dab137b51

View file

@ -102,11 +102,11 @@ abstract class AbstractLoginController extends Controller
$this->auth->guard()->login($user, true); $this->auth->guard()->login($user, true);
return JsonResponse::create([ return new JsonResponse([
'data' => [ 'data' => [
'complete' => true, 'complete' => true,
'intended' => $this->redirectPath(), 'intended' => $this->redirectPath(),
'user' => $user->toVueObject(), 'user' => $user->toReactObject(),
], ],
]); ]);
} }