File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 88 align =" center"
99 >
1010 <h4 class =" pb-3" >Please complete the recaptcha to launch the app</h4 >
11- <Recaptcha />
11+ <Recaptcha site_key = " 6Lce72wgAAAAAOXrHyDxRQBhk6NDTD80MrXOlgbC " />
1212 </v-col >
1313 <v-col
1414 v-else-if =" !cloud_store.is_running && cloud_store.is_connexion_launched"
Original file line number Diff line number Diff line change 22 <ClientOnly >
33 <vue-recaptcha
44 ref =" recaptcha"
5- : sitekey =" 6Lce72wgAAAAAOXrHyDxRQBhk6NDTD80MrXOlgbC"
5+ sitekey =" 6Lce72wgAAAAAOXrHyDxRQBhk6NDTD80MrXOlgbC"
66 :loadRecaptchaScript =" true"
77 @expired =" is_captcha_validated = false"
88 @verify =" submit_recaptcha"
1818 const cloud_store = use_cloud_store ()
1919 const { is_captcha_validated } = storeToRefs (cloud_store)
2020
21- const site_key = useRuntimeConfig ().public .RECAPTCHA_SITE_KEY
21+ const props = defineProps ({
22+ site_key: { type: String , required: true },
23+ })
24+ const { site_key } = props
25+
26+ // const site_key = useRuntimeConfig().public.RECAPTCHA_SITE_KEY
2227 console .log (" site_key" , site_key)
2328
2429 onMounted (() => {
You can’t perform that action at this time.
0 commit comments