Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 142a0769 authored by Akhil's avatar Akhil 🙂
Browse files

Change signup.vue to use provider set in state

parent 716b7cf6
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3,10 +3,10 @@
		<section id="main" class="register-page">
			<div id="registration">
				<RegistrationForm v-if="showRegistrationForm" v-model="formData" @form-submitted="submitRegistrationForm" />
				<CaptchaForm v-if="0 !== 0"
				<CaptchaForm v-if="showCaptchaForm && captchaProvider === 'image'"
					v-model="formData"
					@form-submitted="submitCaptchaForm" />
				<HCaptchaForm v-if="showCaptchaForm"
				<HCaptchaForm v-if="showCaptchaForm && captchaProvider === 'hcaptcha'"
					v-model="formData"
					@form-submitted="submitCaptchaForm" />
				<RecoveryEmailForm v-if="showRecoveryEmailForm" v-model="formData" @form-submitted="submitRecoveryEmailForm" />
@@ -51,6 +51,7 @@ export default {
				newsletterProduct: false,
				selectedLanguage: 'en',
			},
			captchaProvider: loadState(APPLICATION_NAME, 'captchaProvider'),
			appName: APPLICATION_NAME,
			showRegistrationForm: true,
			showCaptchaForm: false,