From ac3a1685b21e7828572566abcb9e1d1ea7f64db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Sat, 27 Feb 2021 19:04:12 +0100 Subject: [PATCH] Implement db mutation in createUserAccount and cleanup --- .../RegistrationItemCreateUserAccount.vue | 23 +++---------------- .../RegistrationItemEnterEmail.vue | 13 ----------- .../RegistrationItemEnterNonce.vue | 14 ----------- .../Registration/RegistrationSlider.story.js | 3 +++ 4 files changed, 6 insertions(+), 47 deletions(-) diff --git a/webapp/components/Registration/RegistrationItemCreateUserAccount.vue b/webapp/components/Registration/RegistrationItemCreateUserAccount.vue index 861cb4310..8af73c98a 100644 --- a/webapp/components/Registration/RegistrationItemCreateUserAccount.vue +++ b/webapp/components/Registration/RegistrationItemCreateUserAccount.vue @@ -23,7 +23,7 @@
-
@@ -183,7 +166,7 @@ export default { }, ...passwordForm.formSchema, }, - response: null, + response: null, // Wolle // TODO: Our styleguide does not support checkmarks. // Integrate termsAndConditionsConfirmed into `this.formData` once we // have checkmarks available. @@ -301,7 +284,6 @@ export default { }, async submit() { const { name, password, about } = this.formData - // Wolle const { email, nonce } = this const { email, nonce } = this.sliderData.collectedInputData const termsAndConditionsAgreedVersion = VERSION const locale = this.$i18n.locale() @@ -330,6 +312,7 @@ export default { } }, onNextClick() { + this.submit() return true }, }, diff --git a/webapp/components/Registration/RegistrationItemEnterEmail.vue b/webapp/components/Registration/RegistrationItemEnterEmail.vue index 156140104..df96bc93c 100644 --- a/webapp/components/Registration/RegistrationItemEnterEmail.vue +++ b/webapp/components/Registration/RegistrationItemEnterEmail.vue @@ -32,19 +32,8 @@ name="email" icon="envelope" /> - -