diff --git a/webapp/components/Registration/RegistrationItemCreateUserAccount.vue b/webapp/components/Registration/RegistrationItemCreateUserAccount.vue index c76e6f71e..6ebcf7e63 100644 --- a/webapp/components/Registration/RegistrationItemCreateUserAccount.vue +++ b/webapp/components/Registration/RegistrationItemCreateUserAccount.vue @@ -296,12 +296,6 @@ export default { }, }) this.response = 'success' - // Wolle setTimeout(() => { - // this.$emit('userCreated', { - // email, - // password, - // }) - // }, 3000) } catch (err) { this.response = 'error' } diff --git a/webapp/components/Registration/RegistrationItemEnterInvite.vue b/webapp/components/Registration/RegistrationItemEnterInvite.vue index b52704224..036413041 100644 --- a/webapp/components/Registration/RegistrationItemEnterInvite.vue +++ b/webapp/components/Registration/RegistrationItemEnterInvite.vue @@ -41,7 +41,8 @@ export default { formSchema: { inviteCode: { type: 'string', - // Wolle min: 6, + // add again if the input has a validation without focus and typing + // min: 6, // max: 6, required: true, message: this.$t('components.enter-invite.form.validations.length'), diff --git a/webapp/components/Registration/RegistrationItemEnterNonce.vue b/webapp/components/Registration/RegistrationItemEnterNonce.vue index 52ec572c2..71652b422 100644 --- a/webapp/components/Registration/RegistrationItemEnterNonce.vue +++ b/webapp/components/Registration/RegistrationItemEnterNonce.vue @@ -40,8 +40,9 @@ export default { formSchema: { nonce: { type: 'string', - // Wolle min: 6, - // max: 6, + // add again if the input has a validation without focus and typing + // min: 5, + // max: 5, required: true, message: this.$t('components.enter-nonce.form.validations.length'), }, @@ -64,7 +65,7 @@ export default { }, computed: { validInput() { - return this.formData.nonce.length === 6 + return this.formData.nonce.length === 5 }, }, methods: { diff --git a/webapp/components/Registration/RegistrationSlider.story.js b/webapp/components/Registration/RegistrationSlider.story.js index fc6dd3e32..65555dfb0 100644 --- a/webapp/components/Registration/RegistrationSlider.story.js +++ b/webapp/components/Registration/RegistrationSlider.story.js @@ -55,7 +55,7 @@ storiesOf('RegistrationSlider', module) inviteCode: 'IN1T6Y', email: 'wolle.huss@pjannto.com', emailSend: false, - nonce: 'NTRSCZ', + nonce: 'NTRSC', name: 'Wolle', password: 'Hello', passwordConfirmation: 'Hello', @@ -89,7 +89,7 @@ storiesOf('RegistrationSlider', module) inviteCode: null, email: 'wolle.huss@pjannto.com', emailSend: false, - nonce: 'NTRSCZ', + nonce: 'NTRSC', name: 'Wolle', password: 'Hello', passwordConfirmation: 'Hello', @@ -141,7 +141,7 @@ storiesOf('RegistrationSlider', module) inviteCode: null, email: 'wolle.huss@pjannto.com', emailSend: true, - nonce: 'NTRSCZ', + nonce: 'NTRSC', name: 'Wolle', password: 'Hello', passwordConfirmation: 'Hello', diff --git a/webapp/components/Registration/RegistrationSlider.vue b/webapp/components/Registration/RegistrationSlider.vue index ef449663f..e69231c78 100644 --- a/webapp/components/Registration/RegistrationSlider.vue +++ b/webapp/components/Registration/RegistrationSlider.vue @@ -1,5 +1,5 @@