diff --git a/front/src/components/auth/SignupForm.vue b/front/src/components/auth/SignupForm.vue
index 2796abbc0..c4970b920 100644
--- a/front/src/components/auth/SignupForm.vue
+++ b/front/src/components/auth/SignupForm.vue
@@ -2,7 +2,7 @@
import type { RouteLocationRaw } from 'vue-router'
import type { BackendError, Form } from '~/types'
-import { computed, reactive, ref } from 'vue'
+import { computed, reactive, ref, watchEffect } from 'vue'
import { useGettext } from 'vue3-gettext'
import { useStore } from '~/store'
@@ -27,7 +27,7 @@ const props = withDefaults(defineProps(), {
buttonClasses: 'success',
customization: null,
fetchDescriptionHtml: false,
- signupApprovalEnabled: false
+ signupApprovalEnabled: undefined
})
const { $pgettext } = useGettext()
@@ -42,6 +42,7 @@ const labels = computed(() => ({
const signupRequiresApproval = computed(() => props.signupApprovalEnabled ?? store.state.instance.settings.moderation.signup_approval_enabled.value)
const formCustomization = computed(() => props.customization ?? store.state.instance.settings.moderation.signup_form_customization.value)
+watchEffect(() => console.log(store.state.instance.settings.moderation.signup_approval_enabled.value))
const payload = reactive({
username: '',
@@ -128,7 +129,7 @@ fetchInstanceSettings()
Registrations on this pod are open, but reviewed by moderators before approval.
-
+
-
+