Removing instances of the login_gov_enabled flag as it will be live with this push to production

This commit is contained in:
Jonathan Bobel
2024-04-17 11:49:47 -04:00
parent e14fc8b654
commit 7755e02ad8
2 changed files with 3 additions and 28 deletions

View File

@@ -650,7 +650,6 @@ def service_set_channel(service_id, channel):
def service_set_auth_type(service_id):
return render_template(
"views/service-settings/set-auth-type.html",
login_gov_enabled=True,
)

View File

@@ -16,33 +16,9 @@
<div class="grid-row">
<div class="grid-col-10">
{{ page_header('Sign-in method') }}
{% if login_gov_enabled %}
<p>Your username, password, and multi-factor authentication options are handled by Login.gov.</p>
<p>To make changes, head to <a href="https://login.gov/">Login.gov</a> and sign-in with your credentials.</p>
<p>Any changes made to your Login.gov account will automatically be synced with Notify.gov.</p>
{% elif 'email_auth' in current_service.permissions and not login_gov_enabled %}
<p class="heading-small bottom-gutter-2-3">
Email link or text message code
</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 %}
<p>Your username, password, and multi-factor authentication options are handled by Login.gov.</p>
<p>To make changes, head to <a href="https://login.gov/">Login.gov</a> and sign-in with your credentials.</p>
<p>Any changes made to your Login.gov account will automatically be synced with Notify.gov.</p>
</div>
</div>