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

Commit 55ed30cd authored by Ronak Patel's avatar Ronak Patel
Browse files

changes

parent 1578f3e2
Loading
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -2,6 +2,13 @@
	<div>
		<section id="main" class="register-page">
			<div id="registration">
				<p v-if="recoveryEmail">
					Recovery Email: {{ recoveryEmail }}
				</p>
				<p v-else>
					No recovery email provided.
				</p>

				<RegistrationForm v-if="showRegistrationForm" v-model="formData" @form-submitted="submitRegistrationForm" />
				<CaptchaForm v-if="showCaptchaForm" v-model="formData" @form-submitted="submitCaptchaForm" />
				<RecoveryEmailForm v-if="showRecoveryEmailForm" v-model="formData" @form-submitted="submitRecoveryEmailForm" />
@@ -30,6 +37,12 @@ export default {
		RecoveryEmailForm,
		SuccessSection,
	},
	props: {
		recoveryEmail: {
			type: String,
			default: '',
		},
	},
	data() {
		return {
			formData: {
+8 −1
Original line number Diff line number Diff line
@@ -2,7 +2,14 @@ import Vue from 'vue'
import './common.js'
import Signup from './Signup.vue'

const urlParams = new URLSearchParams(window.location.search)
const recoveryEmail = urlParams.get('recoveryEmail') ?? ''

export default new Vue({
	el: '#ecloud-accounts-signup',
	render: h => h(Signup),
	render: h => h(Signup, {
		props: {
		  recoveryEmail,
		},
	  }),
})