wantsJson() ? new JsonResponse('', 204) : redirect()->intended(Fortify::redirects('email-verification').'?verified=1'); } }