make(LoginService::class); $user = auth()->user() ?? $loginService->getLastLoginAttemptUser(); if (!$user) { throw new NotFoundException('A user for this action could not be found'); } return $user; } }