From b83019fdb722467d6f936f3ee1e9455b04c37565 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Tue, 16 Apr 2024 10:57:16 -0400 Subject: [PATCH 1/2] Fixing pa11y scan --- app/templates/error/500.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/error/500.html b/app/templates/error/500.html index af86388d7..aca8332df 100644 --- a/app/templates/error/500.html +++ b/app/templates/error/500.html @@ -7,7 +7,7 @@ Sorry, we can't deliver what you asked for right now.

- Please try again later or email us for more information.

+ Please try again later or email us for more information.

From 8596a9cdb33b59cada29f03c8170817ab36ef63d Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Wed, 17 Apr 2024 11:26:14 -0400 Subject: [PATCH 2/2] Removing the email and password fields in the settings area because login.gov will take care of this --- app/templates/views/user-profile.html | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/app/templates/views/user-profile.html b/app/templates/views/user-profile.html index d3e6ff7c8..88f2f1668 100644 --- a/app/templates/views/user-profile.html +++ b/app/templates/views/user-profile.html @@ -27,21 +27,6 @@ }} {% endcall %} - {% call row() %} - {{ text_field('Email address') }} - {{ text_field(current_user.email_address) }} - {% if can_see_edit %} - {{ edit_field( - 'Change', - url_for('.user_profile_email'), - suffix='email address' - ) - }} - {% else %} - {{ text_field('') }} - {% endif %} - {% endcall %} - {% call row() %} {{ text_field('Mobile number') }} {{ optional_text_field(current_user.mobile_number) }} @@ -53,16 +38,6 @@ }} {% endcall %} - {% call row() %} - {{ text_field('Password') }} - {{ text_field('Last changed ' + current_user.password_changed_at|format_delta) }} - {{ edit_field( - 'Change', - url_for('.user_profile_password'), - suffix='password' - ) - }} - {% endcall %} {% call row() %} {{ text_field('Preferred Timezone') }} {{ optional_text_field(current_user.preferred_timezone) }}