From 3a65be849d9059c71987d0d49484f9d7d41ead35 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 15 Dec 2023 10:34:44 +0100 Subject: [PATCH] [UPS-4769] Feat: changes for registration of -16 --- .../registration-modal.controller.js | 4 ---- app/views/registration/contact-data-step.html | 17 +++++++---------- app/views/registration/opt-ins-data-step.html | 8 ++++---- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/app/scripts/registration/registration-modal.controller.js b/app/scripts/registration/registration-modal.controller.js index 38f057cd..a24b3d40 100644 --- a/app/scripts/registration/registration-modal.controller.js +++ b/app/scripts/registration/registration-modal.controller.js @@ -154,10 +154,6 @@ function RegistrationModalController ( }; controller.submitContactDataForm = function(contactDataForm) { - if (controller.passholder.isUnderAge()) { - controller.excludeEmail = true; - } - if (controller.hasEmailOrEmailConfirmedState === emailFieldStatus.initial && !controller.passholder.contact.email && !controller.excludeEmail) { controller.hasEmailOrEmailConfirmedState = emailFieldStatus.needsConfirmation; return; diff --git a/app/views/registration/contact-data-step.html b/app/views/registration/contact-data-step.html index 42ee5757..361ef689 100644 --- a/app/views/registration/contact-data-step.html +++ b/app/views/registration/contact-data-step.html @@ -1,29 +1,26 @@