Skip to content

Commit 6bcb61a

Browse files
authored
Updated advice about allowed emails (#582)
Updated: - Add user page in the Manage user section of the main service - Both the Add user and Add another user pages in the regional service Changes: - Changed the text below the H1 - Change the label of the email field - Changed the error message for allowed emails (this only applies to page in the main service as we haven't done error msgs for the regional service)
1 parent 348c25c commit 6bcb61a

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

app/routes/user-admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ module.exports = (router) => {
173173
}
174174

175175
if (!email || email === '') {
176-
emailError = 'Enter an NHS-approved email address'
176+
emailError = 'Enter an email address'
177177
} else if (!(email.endsWith('nhs.net') || email.endsWith('.nhs.uk'))) {
178-
emailError = 'Email address must be NHS-approved'
178+
emailError = 'Enter an allowed email address'
179179
} else if (existingUserWithSameEmail && existingUserWithSameEmail.status !== 'Deactivated') {
180180
emailError = 'This email address has already been added'
181181
}

app/views/regions/add-another-email.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616

1717
<h1 class="nhsuk-heading-l">{{ pageName }}</h1>
1818

19-
<p>Choose another user at {{ organisation.name }}.</p>
19+
<p>Choose a user at {{ organisation.name }}.</p>
2020

21-
<p>They must have an NHS-approved email address. See the <a href="https://digital.nhs.uk/services/care-identity-service/applications-and-services/apply-for-care-id/care-identity-email-domain-allow-list" target="_blank">list of approved email domains (opens in new tab)</a>.</p>
21+
<p>They must have an nhs.net email or another allowed email address. See <a href="https://digital.nhs.uk/services/care-identity-service/applications-and-services/apply-for-care-id/care-identity-email-domain-allow-list" target="_blank">examples of allowed email addresses (opens in new tab)</a>.</p>
2222

23-
<p>They will receive an email with details of how to access the service.</p>
23+
<p>If the email address is not allowed, use a different email or <a href="/contact-us" target="_blank">contact us</a>.</p>
24+
25+
<p>The user will receive a welcome email with details of how to access the service.</p>
2426

25-
<p>It's their responsibility to add users and set up vaccination sites for their organisation.</p>
27+
<p>Its their responsibility to add users and vaccines for their organisation.</p>
2628

2729
<form action="/regions/organisations/{{ organisation.id }}/add-email-check" method="post" novalidate>
2830

@@ -48,7 +50,7 @@ <h1 class="nhsuk-heading-l">{{ pageName }}</h1>
4850

4951
{{ input({
5052
"label": {
51-
"text": "NHS-approved email address"
53+
"text": "Email address"
5254
},
5355
value: data.email,
5456
type: "email",

app/views/regions/add-email.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ <h1 class="nhsuk-heading-l">{{ pageName }}</h1>
1919

2020
<p>Choose a user at {{ organisation.name }}.</p>
2121

22-
<p>They must have an NHS-approved email address. See the <a href="https://digital.nhs.uk/services/care-identity-service/applications-and-services/apply-for-care-id/care-identity-email-domain-allow-list" target="_blank">list of approved email domains (opens in new tab)</a>.</p>
22+
<p>They must have an nhs.net email or another allowed email address. See <a href="https://digital.nhs.uk/services/care-identity-service/applications-and-services/apply-for-care-id/care-identity-email-domain-allow-list" target="_blank">examples of allowed email addresses (opens in new tab)</a>.</p>
2323

24-
<p>They will receive an email with details of how to access the service.</p>
24+
<p>If the email address is not allowed, use a different email or <a href="/contact-us" target="_blank">contact us</a>.</p>
25+
26+
<p>The user will receive a welcome email with details of how to access the service.</p>
2527

26-
<p>It’s their responsibility to add users and set up vaccination sites for their organisation.</p>
28+
<p>It’s their responsibility to add users and vaccines for their organisation.</p>
2729

2830
<form action="/regions/check-and-send" method="post" novalidate>
2931

@@ -49,7 +51,7 @@ <h1 class="nhsuk-heading-l">{{ pageName }}</h1>
4951

5052
{{ input({
5153
"label": {
52-
"text": "NHS-approved email address"
54+
"text": "Email address"
5355
},
5456
value: data.email,
5557
type: "email",

app/views/user-admin/add-user.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
{% endif %}
4444

4545
<h1 class="nhsuks-heading-xl">Add user</h1>
46-
<p>Users must have an NHS-approved email address. See the <a href="https://digital.nhs.uk/services/care-identity-service/applications-and-services/apply-for-care-id/care-identity-email-domain-allow-list" target="_blank">list of approved email domains (opens in new tab)</a>.</p>
46+
<p>Users must have an nhs.net email or another allowed email address. See <a href="https://digital.nhs.uk/services/care-identity-service/applications-and-services/apply-for-care-id/care-identity-email-domain-allow-list" target="_blank">examples of allowed email addresses (opens in new tab)</a>.</p>
47+
48+
<p>If the email address is not allowed, use a different email or <a href="/contact-us" target="_blank">contact us</a>.</p>
4749

4850
<form action="/user-admin/check-answers" method="post" novalidate="true">
4951

@@ -75,7 +77,7 @@ <h1 class="nhsuks-heading-xl">Add user</h1>
7577

7678
{{ input({
7779
"label": {
78-
"text": "NHS-approved email address"
80+
"text": "Email address"
7981
},
8082
"id": "email",
8183
"name": "email",

0 commit comments

Comments
 (0)