@geode/opengeodeweb-front 2.0.0-rc.31 → 2.0.0-rc.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components/Launcher.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
align="center"
|
|
9
9
|
>
|
|
10
10
|
<h4 class="pb-3">Please complete the recaptcha to launch the app</h4>
|
|
11
|
-
|
|
11
|
+
<Recaptcha site_key="6Lce72wgAAAAAOXrHyDxRQBhk6NDTD80MrXOlgbC" />
|
|
12
12
|
</v-col>
|
|
13
13
|
<v-col
|
|
14
14
|
v-else-if="!cloud_store.is_running && cloud_store.is_connexion_launched"
|
package/components/Recaptcha.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<ClientOnly>
|
|
3
3
|
<vue-recaptcha
|
|
4
4
|
ref="recaptcha"
|
|
5
|
-
|
|
5
|
+
sitekey="6Lce72wgAAAAAOXrHyDxRQBhk6NDTD80MrXOlgbC"
|
|
6
6
|
:loadRecaptchaScript="true"
|
|
7
7
|
@expired="is_captcha_validated = false"
|
|
8
8
|
@verify="submit_recaptcha"
|
|
@@ -18,7 +18,12 @@
|
|
|
18
18
|
const cloud_store = use_cloud_store()
|
|
19
19
|
const { is_captcha_validated } = storeToRefs(cloud_store)
|
|
20
20
|
|
|
21
|
-
const
|
|
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
|
|
22
27
|
console.log("site_key", site_key)
|
|
23
28
|
|
|
24
29
|
onMounted(() => {
|
package/package.json
CHANGED