diff --git a/app/assets/images/alert/info-white.svg b/app/assets/images/alert/info-white.svg deleted file mode 100755 index d3cee2b5395..00000000000 --- a/app/assets/images/alert/info-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/stylesheets/components/_alert.scss b/app/assets/stylesheets/components/_alert.scss index fc35acaffb5..7ee4d8f7837 100644 --- a/app/assets/stylesheets/components/_alert.scss +++ b/app/assets/stylesheets/components/_alert.scss @@ -1,15 +1,5 @@ @use 'uswds-core' as *; -.usa-alert--info-important { - @include u-bg('accent-cool-darker'); - color: color('white'); - font-weight: bold; - - &::before { - background-image: url('/alert/info-white.svg'); - } -} - .usa-alert--info-time { &::before { @include add-color-icon( diff --git a/app/views/idv/getting_started/show.html.erb b/app/views/idv/getting_started/show.html.erb index 99d27e1b30e..27c0bad7f64 100644 --- a/app/views/idv/getting_started/show.html.erb +++ b/app/views/idv/getting_started/show.html.erb @@ -6,15 +6,6 @@ intro: t('idv.getting_started.no_js_intro', sp_name: @sp_name), ) do %> - <% if @current_user&.reproof_for_irs?(service_provider: @current_sp) %> - <%= render AlertComponent.new( - type: :info, - message: t('doc_auth.info.irs_reproofing_explanation'), - class: ['margin-bottom-2', 'usa-alert--info-important'], - ) - %> - <% end %> - <%= render AlertComponent.new( type: :error, class: [ diff --git a/app/views/idv/welcome/show.html.erb b/app/views/idv/welcome/show.html.erb index c5db6c7538a..788a36fbb85 100644 --- a/app/views/idv/welcome/show.html.erb +++ b/app/views/idv/welcome/show.html.erb @@ -15,15 +15,6 @@ intro: t('idv.welcome.no_js_intro', sp_name: decorated_session.sp_name || APP_NAME), ) do %> - <% if @current_user&.reproof_for_irs?(service_provider: @current_sp) %> - <%= render AlertComponent.new( - type: :info, - message: t('doc_auth.info.irs_reproofing_explanation'), - class: ['margin-bottom-2', 'usa-alert--info-important'], - ) - %> - <% end %> - <%= render PageHeadingComponent.new.with_content(t('doc_auth.headings.welcome')) %>
<%= t('doc_auth.info.welcome', sp_name: decorated_session.sp_name || APP_NAME) %> diff --git a/config/locales/doc_auth/en.yml b/config/locales/doc_auth/en.yml index bba28cd9e58..d9143e5f5ca 100644 --- a/config/locales/doc_auth/en.yml +++ b/config/locales/doc_auth/en.yml @@ -174,7 +174,6 @@ en: interstitial_eta: This might take up to a minute. We’ll load the next step automatically when it’s done. interstitial_thanks: Thanks for your patience! - irs_reproofing_explanation: As an extra security measure, you must verify your identity again for IRS keep_window_open: Do not close this window. learn_more: Learn more about how we protect your sensitive information lets_go: 'Identity verification happens in two parts:' diff --git a/config/locales/doc_auth/es.yml b/config/locales/doc_auth/es.yml index a71f8b4e2e7..dadb1cf26c6 100644 --- a/config/locales/doc_auth/es.yml +++ b/config/locales/doc_auth/es.yml @@ -203,8 +203,6 @@ es: interstitial_eta: Esto puede tardar hasta un minuto. Cargaremos el siguiente paso automáticamente cuando esté terminado. interstitial_thanks: '¡Gracias por su paciencia!' - irs_reproofing_explanation: Como medida adicional de seguridad, tiene que - verificar su identidad de nuevo para el Servicio Interno de Impuestos. keep_window_open: No cierres esta ventana. learn_more: Obtenga más información sobre cómo protegemos sus datos confidenciales lets_go: 'La verificación de la identidad se realiza en dos partes:' diff --git a/config/locales/doc_auth/fr.yml b/config/locales/doc_auth/fr.yml index 02c71951d7a..42d037b6a46 100644 --- a/config/locales/doc_auth/fr.yml +++ b/config/locales/doc_auth/fr.yml @@ -208,8 +208,6 @@ fr: interstitial_eta: Cette opération peut prendre jusqu’à une minute. Nous chargerons automatiquement l’étape suivante lorsqu’elle sera terminée. interstitial_thanks: Merci de votre patience! - irs_reproofing_explanation: Comme mesure de sécurité supplémentaire, vous devez - vérifier à nouveau votre identité pour l’IRS. keep_window_open: Ne fermez pas cette fenêtre. learn_more: En savoir plus sur la façon dont nous protégeons vos informations confidentielles diff --git a/spec/views/idv/getting_started/show.html.erb_spec.rb b/spec/views/idv/getting_started/show.html.erb_spec.rb index 769e4e3fb31..1f6c1ef41f6 100644 --- a/spec/views/idv/getting_started/show.html.erb_spec.rb +++ b/spec/views/idv/getting_started/show.html.erb_spec.rb @@ -24,30 +24,15 @@ end context 'in doc auth with an authenticated user' do - let(:need_irs_reproofing) { false } - before do - allow(user).to receive(:reproof_for_irs?).and_return(need_irs_reproofing) assign(:current_user, user) render end - it 'does not render the IRS reproofing explanation' do - expect(rendered).not_to have_text(t('doc_auth.info.irs_reproofing_explanation')) - end - it 'renders a link to return to the SP' do expect(rendered).to have_link(t('links.cancel')) end - - context 'when trying to log in to the IRS' do - let(:need_irs_reproofing) { true } - - it 'renders the IRS reproofing explanation' do - expect(rendered).to have_text(t('doc_auth.info.irs_reproofing_explanation')) - end - end end context 'during the acuant maintenance window' do diff --git a/spec/views/idv/welcome/show.html.erb_spec.rb b/spec/views/idv/welcome/show.html.erb_spec.rb index d15a6d97df5..7a76176812f 100644 --- a/spec/views/idv/welcome/show.html.erb_spec.rb +++ b/spec/views/idv/welcome/show.html.erb_spec.rb @@ -21,30 +21,14 @@ end context 'in doc auth with an authenticated user' do - let(:need_irs_reproofing) { false } - before do - allow(user).to receive(:reproof_for_irs?).and_return(need_irs_reproofing) assign(:current_user, user) - render end - it 'does not render the IRS reproofing explanation' do - expect(rendered).not_to have_text(t('doc_auth.info.irs_reproofing_explanation')) - end - it 'renders a link to return to the SP' do expect(rendered).to have_link(t('links.cancel')) end - - context 'when trying to log in to the IRS' do - let(:need_irs_reproofing) { true } - - it 'renders the IRS reproofing explanation' do - expect(rendered).to have_text(t('doc_auth.info.irs_reproofing_explanation')) - end - end end context 'during the acuant maintenance window' do