mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Merge pull request #1399 from GSA/1269-content-update-for-login-gov-settings
1269 - Content updates for Service Settings after login.gov integration
This commit is contained in:
@@ -16,28 +16,9 @@
|
|||||||
<div class="grid-row">
|
<div class="grid-row">
|
||||||
<div class="grid-col-10">
|
<div class="grid-col-10">
|
||||||
{{ page_header('Sign-in method') }}
|
{{ page_header('Sign-in method') }}
|
||||||
{% if 'email_auth' in current_service.permissions %}
|
<p>Your username, password, and multi-factor authentication options are handled by Login.gov.</p>
|
||||||
<p class="heading-small bottom-gutter-2-3">
|
<p>To make changes, head to <a href="https://login.gov/">Login.gov</a> and sign-in with your credentials.</p>
|
||||||
Email link or text message code
|
<p>Any changes made to your Login.gov account will automatically be synced with Notify.gov.</p>
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Your team members can sign in with either a text message code
|
|
||||||
or an email link.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
You can <a class="usa-link" href="{{ url_for('.manage_users', service_id=current_service.id) }}">set the sign-in method for individual team members</a>.
|
|
||||||
</p>
|
|
||||||
{% else %}
|
|
||||||
<p class="heading-small bottom-gutter-2-3">
|
|
||||||
Text message code
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Your team members sign in with a text message code.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<a class="usa-link" href="{{ url_for('.support') }}">Contact us</a> if signing in with a text message is a problem for your team.
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
1
poetry.lock
generated
1
poetry.lock
generated
@@ -2383,6 +2383,7 @@ files = [
|
|||||||
{file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"},
|
{file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"},
|
||||||
{file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"},
|
{file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"},
|
||||||
{file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"},
|
{file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"},
|
||||||
|
{file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"},
|
||||||
{file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"},
|
{file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"},
|
||||||
{file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"},
|
{file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"},
|
||||||
{file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"},
|
{file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"},
|
||||||
|
|||||||
@@ -2545,11 +2545,19 @@ def test_send_files_by_email_contact_details_does_not_update_invalid_contact_det
|
|||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
("endpoint", "permissions", "expected_p"),
|
("endpoint", "permissions", "expected_p"),
|
||||||
[
|
[
|
||||||
("main.service_set_auth_type", [], ("Text message code")),
|
(
|
||||||
|
"main.service_set_auth_type",
|
||||||
|
[],
|
||||||
|
(
|
||||||
|
"Your username, password, and multi-factor authentication options are handled by Login.gov."
|
||||||
|
),
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"main.service_set_auth_type",
|
"main.service_set_auth_type",
|
||||||
["email_auth"],
|
["email_auth"],
|
||||||
("Email link or text message code"),
|
(
|
||||||
|
"Your username, password, and multi-factor authentication options are handled by Login.gov."
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user