fixes
Build And Push Image / docker (push) Successful in 3m5s
Details
Build And Push Image / docker (push) Successful in 3m5s
Details
This commit is contained in:
parent
9572291299
commit
0d6a82f03c
|
|
@ -256,8 +256,8 @@ const valid = ref(false);
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const errorMessage = ref('');
|
const errorMessage = ref('');
|
||||||
|
|
||||||
// reCAPTCHA v2 state (static, not reactive)
|
// reCAPTCHA v2 state - site key must be reactive for template
|
||||||
let recaptchaSiteKey = '';
|
const recaptchaSiteKey = ref('');
|
||||||
const recaptchaToken = ref('');
|
const recaptchaToken = ref('');
|
||||||
|
|
||||||
// Registration config (static, not reactive)
|
// Registration config (static, not reactive)
|
||||||
|
|
@ -450,12 +450,12 @@ onMounted(async () => {
|
||||||
|
|
||||||
// Set static config values
|
// Set static config values
|
||||||
if (configs.recaptcha?.siteKey) {
|
if (configs.recaptcha?.siteKey) {
|
||||||
recaptchaSiteKey = configs.recaptcha.siteKey;
|
recaptchaSiteKey.value = configs.recaptcha.siteKey;
|
||||||
console.log('[signup] reCAPTCHA configured');
|
console.log('[signup] reCAPTCHA configured');
|
||||||
|
|
||||||
// Load reCAPTCHA v2 script with delay to prevent render blocking
|
// Load reCAPTCHA v2 script with delay to prevent render blocking
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
loadRecaptchaScript(recaptchaSiteKey);
|
loadRecaptchaScript(recaptchaSiteKey.value);
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue