File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 55 <h4 class =" pb-3" >
66 Please complete the recaptcha to launch the app
77 </h4 >
8- <vue-recaptcha ref =" recaptcha" :sitekey =" useRuntimeConfig().public.RECAPTCHA_SITE_KEY " :loadRecaptchaScript =" true"
8+ <vue-recaptcha ref =" recaptcha" :sitekey =" site_key " :loadRecaptchaScript =" true"
99 @expired =" is_captcha_validated = false" @verify =" submit_recaptcha" align-self =" center" />
1010 </v-col >
1111 <v-col v-else-if =" !cloud_store.is_running && !cloud_store.is_connexion_launched" >
@@ -22,6 +22,10 @@ const websocket_store = use_websocket_store()
2222const cloud_store = use_cloud_store ()
2323const { is_captcha_validated } = storeToRefs (cloud_store)
2424
25+ const props = defineProps ({
26+ site_key: { type: String , required: true }
27+ })
28+
2529watch (is_captcha_validated, async (value ) => {
2630 if (value === true && process .client ) {
2731 await cloud_store .create_connexion ()
You can’t perform that action at this time.
0 commit comments