diff --git a/webapp/components/Registration/CreateUserAccount.spec.js b/webapp/components/Registration/CreateUserAccount.spec.js index 67a14b3c5..3bea5a975 100644 --- a/webapp/components/Registration/CreateUserAccount.spec.js +++ b/webapp/components/Registration/CreateUserAccount.spec.js @@ -61,7 +61,9 @@ describe('CreateUserAccount', () => { wrapper.find('input#password').setValue('hellopassword') wrapper.find('textarea#about').setValue('Hello I am the `about` attribute') wrapper.find('input#passwordConfirmation').setValue('hellopassword') - wrapper.find('input#checkbox').setChecked() + wrapper.find('input#checkbox0').setChecked() + wrapper.find('input#checkbox1').setChecked() + wrapper.find('input#checkbox2').setChecked() await wrapper.find('form').trigger('submit') await wrapper.html() } diff --git a/webapp/components/Registration/CreateUserAccount.vue b/webapp/components/Registration/CreateUserAccount.vue index be01e0bb0..7fc64a545 100644 --- a/webapp/components/Registration/CreateUserAccount.vue +++ b/webapp/components/Registration/CreateUserAccount.vue @@ -64,7 +64,7 @@ +

+ +

+

+ +

{{ $t('actions.save') }} @@ -129,6 +141,8 @@ export default { // Integrate termsAndConditionsConfirmed into `this.formData` once we // have checkmarks available. termsAndConditionsConfirmed: false, + dataPrivacy: false, + minimumAge: false, } }, props: { diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 96c1cd322..154dc67b6 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -30,6 +30,9 @@ "title": "Mach mit bei Human Connection!", "form": { "description": "Um loszulegen, gib deine E-Mail Adresse ein:", + "terms-and-condition": "Ich stimme den Nutzungsbedingungenzu.", + "data-privacy": "Ich habe die Datenschutzerklärungen! gelesen und verstanden", + "minimum-age": "Ich bin 18 Jahre oder älter.", "invitation-code": "Dein Einladungscode lautet: {code}", "errors": { "email-exists": "Es gibt schon ein Benutzerkonto mit dieser E-Mail Adresse!", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 90bb84c37..a97a84a73 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -31,6 +31,9 @@ "title": "Join Human Connection!", "form": { "description": "To get started, enter your email address:", + "terms-and-condition": "I confirm to the Terms and conditions.", + "data-privacy": " I have read and understood the Privacy Statement ", + "minimum-age": "I'm 18 years or older.", "invitation-code": "Your invitation code is: {code}", "errors": { "email-exists": "There is already a user account with this email address!",