Skip to content

Commit d8315fe

Browse files
committed
Merge branch 'develop'
2 parents 0f79b4c + c739ca7 commit d8315fe

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

layouts/hub-billing/single.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ <h3 class="font-headline text-xl md:text-2xl leading-relaxed mb-4">
4242
<i :class="{'fa-paper-plane': !subscriptionData.inProgress, 'fa-spinner fa-spin': subscriptionData.inProgress}" class="fa-solid" aria-hidden="true"></i>
4343
{{ i18n "hub_billing_createsession_submit" . }}
4444
</button>
45-
{{ $captchaUrl := printf "%s/connect/contact/challenge" .Site.Params.apiBaseUrl }}
46-
{{ partial "captcha.html" (dict "challengeUrl" $captchaUrl "captchaPayload" "subscriptionData.captcha" "captchaState" "captchaState") }}
45+
{{ partial "captcha.html" (dict "captchaPayload" "subscriptionData.captcha" "captchaState" "captchaState") }}
4746
<p :class="{'hidden': !subscriptionData.errorMessage}" class="text-sm text-red-600 mt-2" x-text="subscriptionData.errorMessage"></p>
4847
</div>
4948
</template>

layouts/hub-managed/single.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ <h2 class="font-h2 mb-6">
187187
<i :class="{'fa-paper-plane': !feedbackData.inProgress, 'fa-spinner fa-spin': feedbackData.inProgress}" class="fa-solid" aria-hidden="true"></i>
188188
{{ i18n "hub_managed_step_4_submit" }}
189189
</button>
190-
{{ $captchaUrl := printf "%s/connect/contact/challenge" .Site.Params.apiBaseUrl }}
191-
{{ partial "captcha.html" (dict "challengeUrl" $captchaUrl "captchaPayload" "submitData.captcha" "captchaState" "captchaState") }}
190+
{{ partial "captcha.html" (dict "submitData.captcha" "captchaState" "captchaState") }}
192191
</div>
193192
</div>
194193
</div>

0 commit comments

Comments
 (0)