From 88c92f76539371e6029a01c3553024b37d4a5156 Mon Sep 17 00:00:00 2001 From: Success Ologunsua Date: Fri, 19 Apr 2024 14:30:11 +0100 Subject: [PATCH] fix: disable the Invite Users button until at least one email address has been entered (#10136) * validate invite users button values * update validateEmail regex to address the concern of potential denial of service * handle event with jquery * fix sonarcloud integrity issue --- templates/web/pages/org_form/org_form.tt.html | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/templates/web/pages/org_form/org_form.tt.html b/templates/web/pages/org_form/org_form.tt.html index ef8dfe62b78fd..efae7db9d023f 100644 --- a/templates/web/pages/org_form/org_form.tt.html +++ b/templates/web/pages/org_form/org_form.tt.html @@ -68,13 +68,13 @@

[% lang("organization_members") %]

[% END %] -
+

[% lang('enter_email_addresses_of_users') %]

- +
@@ -177,4 +177,21 @@

[% lang('users_added_successfully') %]

[% profile_name %]

[% END %] + + + \ No newline at end of file