flash('show_encryption_prompt', true); $this->authEntryPointService->queueReturningUserCookie(); return $request->wantsJson() ? new JsonResponse('', 204) : redirect()->intended(Fortify::redirects('login')); } }