diff --git a/app/assets/images/idv/bar_code.png b/app/assets/images/idv/bar_code.png deleted file mode 100644 index 430747a3f1e..00000000000 Binary files a/app/assets/images/idv/bar_code.png and /dev/null differ diff --git a/app/assets/stylesheets/components/_color.scss b/app/assets/stylesheets/components/_color.scss index e5a78902226..572de70adf1 100644 --- a/app/assets/stylesheets/components/_color.scss +++ b/app/assets/stylesheets/components/_color.scss @@ -1,4 +1,3 @@ @media #{$breakpoint-sm} { .sm-white { color: $white; } - .accent-blue { color: $blue; } } diff --git a/app/controllers/idv/in_person_controller.rb b/app/controllers/idv/in_person_controller.rb deleted file mode 100644 index 37dab28996c..00000000000 --- a/app/controllers/idv/in_person_controller.rb +++ /dev/null @@ -1,19 +0,0 @@ -module Idv - class InPersonController < ApplicationController - before_action :render_404_if_disabled - before_action :confirm_two_factor_authenticated - - include Flow::FlowStateMachine - - FSM_SETTINGS = { - step_url: :idv_in_person_step_url, - final_url: :account_url, - flow: Idv::Flows::InPersonFlow, - analytics_id: Analytics::IN_PERSON_PROOFING, - }.freeze - - def render_404_if_disabled - render_not_found unless FeatureManagement.in_person_proofing_enabled? - end - end -end diff --git a/app/models/profile.rb b/app/models/profile.rb index 63363733f81..89f0a104d9b 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -14,7 +14,6 @@ class Profile < ApplicationRecord encryption_error: 2, verification_pending: 3, verification_cancelled: 4, - in_person_pending: 5, } attr_reader :personal_key diff --git a/app/services/analytics.rb b/app/services/analytics.rb index 36886fb6020..1b5c013533f 100644 --- a/app/services/analytics.rb +++ b/app/services/analytics.rb @@ -132,7 +132,6 @@ def browser_attributes IDV_GPO_ADDRESS_VISITED = 'IdV: USPS address visited'.freeze IDV_VERIFICATION_ATTEMPT_CANCELLED = 'IdV: verification attempt cancelled'.freeze INVALID_AUTHENTICITY_TOKEN = 'Invalid Authenticity Token'.freeze - IN_PERSON_PROOFING = 'In Person Proofing'.freeze # visited or submitted is appended LAMBDA_RESULT_RESOLUTION_PROOF_RESULT = 'Lambda Resolution Proof Result Received'.freeze LAMBDA_RESULT_ADDRESS_PROOF_RESULT = 'Lambda Address Proof Result Received'.freeze LAMBDA_RESULT_DOCUMENT_PROOF_RESULT = 'Lambda Document Proof Result Received'.freeze diff --git a/app/services/idv/actions/redo_enter_info_action.rb b/app/services/idv/actions/redo_enter_info_action.rb deleted file mode 100644 index efdbf26e227..00000000000 --- a/app/services/idv/actions/redo_enter_info_action.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Actions - class RedoEnterInfoAction < Idv::Steps::DocAuthBaseStep - def call - mark_step_incomplete(:enter_info) - end - end - end -end diff --git a/app/services/idv/flows/in_person_flow.rb b/app/services/idv/flows/in_person_flow.rb deleted file mode 100644 index e4d40cd70b6..00000000000 --- a/app/services/idv/flows/in_person_flow.rb +++ /dev/null @@ -1,30 +0,0 @@ -module Idv - module Flows - class InPersonFlow < Flow::BaseFlow - STEPS = { - welcome: Idv::Steps::Ipp::WelcomeStep, - find_usps: Idv::Steps::Ipp::FindUspsStep, - usps_list: Idv::Steps::Ipp::UspsListStep, - enter_info: Idv::Steps::Ipp::EnterInfoStep, - verify: Idv::Steps::Ipp::VerifyStep, - encrypt: Idv::Steps::Ipp::EncryptStep, - bar_code: Idv::Steps::Ipp::BarCodeStep, - }.freeze - - ACTIONS = { - reset: Idv::Actions::ResetAction, - }.freeze - - attr_reader :idv_session # this is needed to support (and satisfy) the current LOA3 flow - - def initialize(controller, session, name) - @idv_session = self.class.session_idv(session) - super(controller, STEPS, ACTIONS, session[name]) - end - - def self.session_idv(session) - session[:idv] ||= { params: {}, step_attempts: { phone: 0 } } - end - end - end -end diff --git a/app/services/idv/steps/ipp/bar_code_step.rb b/app/services/idv/steps/ipp/bar_code_step.rb deleted file mode 100644 index eaa1135760a..00000000000 --- a/app/services/idv/steps/ipp/bar_code_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class BarCodeStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/services/idv/steps/ipp/encrypt_step.rb b/app/services/idv/steps/ipp/encrypt_step.rb deleted file mode 100644 index 9237396a686..00000000000 --- a/app/services/idv/steps/ipp/encrypt_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class EncryptStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/services/idv/steps/ipp/enter_info_step.rb b/app/services/idv/steps/ipp/enter_info_step.rb deleted file mode 100644 index 1beb415d0e8..00000000000 --- a/app/services/idv/steps/ipp/enter_info_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class EnterInfoStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/services/idv/steps/ipp/find_usps_step.rb b/app/services/idv/steps/ipp/find_usps_step.rb deleted file mode 100644 index 84028e84bee..00000000000 --- a/app/services/idv/steps/ipp/find_usps_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class FindUspsStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/services/idv/steps/ipp/usps_list_step.rb b/app/services/idv/steps/ipp/usps_list_step.rb deleted file mode 100644 index 6fa0d401c28..00000000000 --- a/app/services/idv/steps/ipp/usps_list_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class UspsListStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/services/idv/steps/ipp/verify_step.rb b/app/services/idv/steps/ipp/verify_step.rb deleted file mode 100644 index 186759856ca..00000000000 --- a/app/services/idv/steps/ipp/verify_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class VerifyStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/services/idv/steps/ipp/welcome_step.rb b/app/services/idv/steps/ipp/welcome_step.rb deleted file mode 100644 index 193b8e55513..00000000000 --- a/app/services/idv/steps/ipp/welcome_step.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Idv - module Steps - module Ipp - class WelcomeStep < DocAuthBaseStep - def call; end - end - end - end -end diff --git a/app/views/idv/doc_auth/_error_messages.html.erb b/app/views/idv/doc_auth/_error_messages.html.erb index ada4d9bb163..1546f4c8ca4 100644 --- a/app/views/idv/doc_auth/_error_messages.html.erb +++ b/app/views/idv/doc_auth/_error_messages.html.erb @@ -4,6 +4,5 @@ class: 'margin-bottom-4', } do %> <%= flow_session[:error_message] %> - <%= render 'idv/doc_auth/in_person_proofing_option' %> <% end %> <% end %> diff --git a/app/views/idv/doc_auth/_in_person_proofing_option.html.erb b/app/views/idv/doc_auth/_in_person_proofing_option.html.erb deleted file mode 100644 index a604774a1d2..00000000000 --- a/app/views/idv/doc_auth/_in_person_proofing_option.html.erb +++ /dev/null @@ -1,4 +0,0 @@ -<% if FeatureManagement.in_person_proofing_enabled? %> -
- <%= link_to t('in_person_proofing.opt_in_link'), idv_in_person_step_path(step: :welcome) %> -<% end %> diff --git a/app/views/idv/in_person/_start_over_or_cancel.html.erb b/app/views/idv/in_person/_start_over_or_cancel.html.erb deleted file mode 100644 index e4a810b180b..00000000000 --- a/app/views/idv/in_person/_start_over_or_cancel.html.erb +++ /dev/null @@ -1,4 +0,0 @@ -
-<%= button_to(t('doc_auth.buttons.start_over'), idv_in_person_step_path(:reset), method: :put, - class: 'usa-button usa-button--unstyled', form_class: 'inline-block') %> -<%= render 'shared/cancel', link: idv_cancel_path %> diff --git a/app/views/idv/in_person/bar_code.html.erb b/app/views/idv/in_person/bar_code.html.erb deleted file mode 100644 index b3d7c41a6b3..00000000000 --- a/app/views/idv/in_person/bar_code.html.erb +++ /dev/null @@ -1,70 +0,0 @@ -<% title t('forms.backup_code.title') %> - -
- <%= t('in_person_proofing.step', step: 3) %> -
- -
- -

- <%= t('in_person_proofing.headings.enrollment_form') %> -

-

- <%= t('in_person_proofing.info.enrollment_form') %> -

- -
-
- -
-
- -<%= link_to t('forms.buttons.continue'), account_path, class: 'btn btn-primary btn-wide' %> - -
- -<%= render 'idv/in_person/start_over_or_cancel' %> - -<%= javascript_packs_tag_once 'clipboard' %> diff --git a/app/views/idv/in_person/encrypt.html.erb b/app/views/idv/in_person/encrypt.html.erb deleted file mode 100644 index 7b96cad918e..00000000000 --- a/app/views/idv/in_person/encrypt.html.erb +++ /dev/null @@ -1,33 +0,0 @@ -<% title t('idv.titles.review') %> - -
- <%= t('in_person_proofing.step', step: 2) %> -
- -
- -

- <%= t('idv.titles.session.review') %> -

- -

- <%= t('in_person_proofing.instructions.encrypt') %> -

- -<%= new_window_link_to t('in_person_proofing.instructions.read_more_encrypt'), - MarketingSite.security_url %> - -<%= validated_form_for(:in_person_proofing, url: url_for, method: 'PUT', - html: { autocomplete: 'off', method: :put, role: 'form' }) do |f| %> - <%= f.input :password, label: t('idv.form.password'), required: true, - input_html: { aria: { invalid: false }, class: 'password-toggle' } %> -
- <%= t('idv.forgot_password.link_html', - link: link_to(t('idv.forgot_password.link_text'), idv_forgot_password_url, - class: 'usa-button usa-button--unstyled margin-left-1', form_class: 'inline-block')) %> -
- - <%= f.button :submit, t('forms.buttons.continue'), class: 'btn btn-primary btn-wide sm-col-6 col-12' %> -<% end %> - -<%= render 'idv/in_person/start_over_or_cancel' %> diff --git a/app/views/idv/in_person/enter_info.html.erb b/app/views/idv/in_person/enter_info.html.erb deleted file mode 100644 index de641ee2989..00000000000 --- a/app/views/idv/in_person/enter_info.html.erb +++ /dev/null @@ -1,144 +0,0 @@ -
<%= t('in_person_proofing.step', step: 2) %>
-

<%= t('in_person_proofing.headings.enter_info') %>

- -<%= validated_form_for(:in_person_proofing, url: url_for, method: 'PUT', - html: { autocomplete: 'off', method: :put, role: 'form' }) do |f| %> -
-
- - -
-
- - -
-
-
-
- -
example: 01/17/1964
- -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
- - -
-
- - -
-
-
-
- -
-
-
-
- - -
-
-
-
-
- -
-<% end %> - -<%= render 'idv/in_person/start_over_or_cancel' %> diff --git a/app/views/idv/in_person/find_usps.html.erb b/app/views/idv/in_person/find_usps.html.erb deleted file mode 100644 index eb7990d6105..00000000000 --- a/app/views/idv/in_person/find_usps.html.erb +++ /dev/null @@ -1,34 +0,0 @@ -<% title t('in_person_proofing.titles.in_person_proofing') %> - -
- <%= t('in_person_proofing.step', step: 1) %> -
- -
- -

- <%= t('in_person_proofing.headings.zip_code') %> -

- -<%= validated_form_for(:in_person, url: url_for, method: 'PUT', - html: { autocomplete: 'off', role: 'form', class: 'margin-top-2' }) do |f| %> -
-
- <%= f.input :zip_code, - label: t('in_person_proofing.forms.zip_code'), required: true, - pattern: '^\d{5}$', - input_html: { aria: { invalid: false }, class: 'zip_code', value: '' } %> -
-
-

- <%= flow_session[:error_message] %> -

- -
- -
-<% end %> - -<%= render 'idv/in_person/start_over_or_cancel' %> diff --git a/app/views/idv/in_person/usps_list.html.erb b/app/views/idv/in_person/usps_list.html.erb deleted file mode 100644 index d1af77fd7ec..00000000000 --- a/app/views/idv/in_person/usps_list.html.erb +++ /dev/null @@ -1,62 +0,0 @@ -
<%= t('in_person_proofing.step', step: 1) %>
-

<%= t('in_person_proofing.headings.usps_list') %>

- -<%= validated_form_for(:in_person_proofing, url: url_for, method: 'PUT', - html: { autocomplete: 'off', method: :put, role: 'form' }) do |f| %> -
-
- Choose a post office near you: - - - - - -
-
- -
- -
-<% end %> - -<%= render 'idv/in_person/start_over_or_cancel' %> diff --git a/app/views/idv/in_person/verify.html.erb b/app/views/idv/in_person/verify.html.erb deleted file mode 100644 index b794b472891..00000000000 --- a/app/views/idv/in_person/verify.html.erb +++ /dev/null @@ -1,58 +0,0 @@ -<% title t('in_person_proofing.titles.in_person_proofing') %> - -
- <%= t('in_person_proofing.step', step: 2) %> -
- -
- -

- Verify your information -

- -
-
- <%= link_to(t('in_person_proofing.buttons.change_address'), idv_address_url) %> -
-
- <%= t('in_person_proofing.forms.first_name') %>: Jane -
-
- <%= t('in_person_proofing.forms.last_name') %>: Doe -
-
- <%= t('in_person_proofing.forms.dob') %>: 11/1/1911 -
- -
- -
- <%= link_to(t('in_person_proofing.buttons.change_address'), idv_address_url) %> -
-
- <%= t('in_person_proofing.forms.address1') %>: 1 Fake Street -
-
- <%= t('in_person_proofing.forms.city') %>: Faketown -
-
- <%= t('in_person_proofing.forms.state') %>: NY -
-
- <%= t('in_person_proofing.forms.zip_code') %>: 11364 -
- -
- -
- <%= button_to(t('in_person_proofing.buttons.change_ssn'), - idv_doc_auth_step_path(step: :redo_ssn), method: :put, class: 'usa-button usa-button--unstyled') %> -
- <%= t('in_person_proofing.forms.ssn') %>: 111-11-1111 -
- <%= button_to(t('forms.buttons.continue'), url_for, method: :put, - class: 'btn btn-primary btn-wide sm-col-6 col-12') %> -
-
- -<%= render 'idv/in_person/start_over_or_cancel' %> diff --git a/app/views/idv/in_person/welcome.html.erb b/app/views/idv/in_person/welcome.html.erb deleted file mode 100644 index 6e35e79300b..00000000000 --- a/app/views/idv/in_person/welcome.html.erb +++ /dev/null @@ -1,91 +0,0 @@ -<% title t('titles.doc_auth.verify') %> - -

- <%= t('in_person_proofing.headings.welcome') %> -

- -

- <%= t('in_person_proofing.info.welcome') %> -

- -

- <%= t('in_person_proofing.instructions.welcome') %> -

- - -<%= validated_form_for(:in_person_proofing, url: url_for, method: 'PUT', - html: { autocomplete: 'off', role: 'form', class: 'margin-top-2' }) do %> -
-
- -
-<% end %> - -
- -
- <%= link_to cancel_link_text, account_path, class: 'h5' %> -
diff --git a/app/views/idv/phone_errors/failure.html.erb b/app/views/idv/phone_errors/failure.html.erb index 6afc37b4a24..caef20d7f05 100644 --- a/app/views/idv/phone_errors/failure.html.erb +++ b/app/views/idv/phone_errors/failure.html.erb @@ -29,5 +29,3 @@

<%= render 'idv/shared/back_to_sp_link' %> - -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/phone_errors/jobfail.html.erb b/app/views/idv/phone_errors/jobfail.html.erb index 9f83973d82b..1e11901d701 100644 --- a/app/views/idv/phone_errors/jobfail.html.erb +++ b/app/views/idv/phone_errors/jobfail.html.erb @@ -22,5 +22,3 @@
<%= link_to t("idv.failure.button.jobfail"), idv_phone_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/phone_errors/timeout.html.erb b/app/views/idv/phone_errors/timeout.html.erb index 1be8756a06f..f4806350b82 100644 --- a/app/views/idv/phone_errors/timeout.html.erb +++ b/app/views/idv/phone_errors/timeout.html.erb @@ -22,5 +22,3 @@
<%= link_to t("idv.failure.button.timeout"), idv_phone_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/phone_errors/warning.html.erb b/app/views/idv/phone_errors/warning.html.erb index 36a818f34cc..e6e8f11a2d4 100644 --- a/app/views/idv/phone_errors/warning.html.erb +++ b/app/views/idv/phone_errors/warning.html.erb @@ -22,5 +22,3 @@
<%= link_to t("idv.failure.button.warning"), idv_phone_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/exception.html.erb b/app/views/idv/session_errors/exception.html.erb index 7e267a2cf83..32fd9ebf9cb 100644 --- a/app/views/idv/session_errors/exception.html.erb +++ b/app/views/idv/session_errors/exception.html.erb @@ -14,5 +14,3 @@
<%= link_to t("idv.failure.button.warning"), idv_doc_auth_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/failure.html.erb b/app/views/idv/session_errors/failure.html.erb index cbcfaf56f3e..f1b07209214 100644 --- a/app/views/idv/session_errors/failure.html.erb +++ b/app/views/idv/session_errors/failure.html.erb @@ -22,5 +22,3 @@

<%= render 'idv/shared/back_to_sp_link' %> - -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/recovery_exception.html.erb b/app/views/idv/session_errors/recovery_exception.html.erb index 32fd84731a6..caa9569b50a 100644 --- a/app/views/idv/session_errors/recovery_exception.html.erb +++ b/app/views/idv/session_errors/recovery_exception.html.erb @@ -14,5 +14,3 @@
<%= link_to t("idv.failure.button.warning"), idv_recovery_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/recovery_failure.html.erb b/app/views/idv/session_errors/recovery_failure.html.erb index bacd679c2ee..f9d6f9436b2 100644 --- a/app/views/idv/session_errors/recovery_failure.html.erb +++ b/app/views/idv/session_errors/recovery_failure.html.erb @@ -22,5 +22,3 @@

<%= render 'idv/shared/reset_your_account' %> - -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/recovery_throttled.html.erb b/app/views/idv/session_errors/recovery_throttled.html.erb index 17c9cd7dbeb..9170f00d1c6 100644 --- a/app/views/idv/session_errors/recovery_throttled.html.erb +++ b/app/views/idv/session_errors/recovery_throttled.html.erb @@ -16,5 +16,3 @@

<%= render 'idv/shared/back_to_sp_link' %> - -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/recovery_warning.html.erb b/app/views/idv/session_errors/recovery_warning.html.erb index bfb968e94e9..e8a8c1fcbc4 100644 --- a/app/views/idv/session_errors/recovery_warning.html.erb +++ b/app/views/idv/session_errors/recovery_warning.html.erb @@ -15,5 +15,3 @@
<%= link_to t("idv.failure.button.warning"), idv_recovery_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/throttled.html.erb b/app/views/idv/session_errors/throttled.html.erb index 961b85e7a1d..bbe37b81818 100644 --- a/app/views/idv/session_errors/throttled.html.erb +++ b/app/views/idv/session_errors/throttled.html.erb @@ -16,5 +16,3 @@

<%= render 'idv/shared/back_to_sp_link' %> - -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/app/views/idv/session_errors/warning.html.erb b/app/views/idv/session_errors/warning.html.erb index f440e5869e3..6a5d240579a 100644 --- a/app/views/idv/session_errors/warning.html.erb +++ b/app/views/idv/session_errors/warning.html.erb @@ -15,5 +15,3 @@
<%= link_to t("idv.failure.button.warning"), idv_doc_auth_path %>
- -<%= render 'idv/doc_auth/in_person_proofing_option' %> diff --git a/config/application.yml.default b/config/application.yml.default index 2cfce0cb466..962d609a363 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -61,7 +61,6 @@ idv_max_attempts: '5' idv_min_age_years: '13' idv_send_link_attempt_window_in_minutes: '10' idv_send_link_max_attempts: '5' -in_person_proofing_enabled: job_run_healthchecks_enabled: 'true' # LexisNexis ##################################################### lexisnexis_base_url: https://www.example.com diff --git a/config/locales/in_person_proofing/en.yml b/config/locales/in_person_proofing/en.yml deleted file mode 100644 index ffe04c1100f..00000000000 --- a/config/locales/in_person_proofing/en.yml +++ /dev/null @@ -1,52 +0,0 @@ ---- -en: - in_person_proofing: - buttons: - change_address: change - change_ssn: change - get_started: Get started - enrollment_form: Enrollment form - forms: - address1: Address - address2: Address (optional) - city: City - dob: Date of birth - first_name: First name - last_name: Last Name - ssn: Social security number - state: State - zip_code: Zip code - headings: - enrollment_form: Bring this form to your post office - enter_info: Enter in your information - usps_list: Choose a post office - welcome: Verify your identity in person - zip_code: Find a post office - info: - enrollment_form: Please print or save this form and take it to the post office - you chose. - welcome: We can verify your identity at your local post office. - instructions: - bullet1: Choose a nearby post office - bullet2: Enter your information - bullet3: Print or save your enrollment form - bullet4: Visit the post office to get verified - bullet5: Come back to login.gov - encrypt: When you re-enter your password, login.gov will protect the information - you've given us, so that only you can access it - enrollment_form: 'Bring this code to the following post office along with a - government-issued ID:' - read_more_encrypt: Read more about how login.gov protects your personal information - text1: by entering your ZIP code - text2: name, date of birth, address, and social security number - text3: a bar code that you need to take to the post office with you - text4: bring your enrollment code and a government-issued ID - text5: sign in and finish the process - welcome: 'What you''ll need to do:' - opt_in_link: Verify your identity in person at a local post office instead - step: Verify your identity in person - Step %{step} of 5 - titles: - in_person_proofing: Verify your identity in person - warning: - enrollment_form: Download, print, or save your enrollment form. A copy has - also been sent to your email. diff --git a/config/locales/in_person_proofing/es.yml b/config/locales/in_person_proofing/es.yml deleted file mode 100644 index b36c608559c..00000000000 --- a/config/locales/in_person_proofing/es.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -es: - in_person_proofing: - buttons: - change_address: cambio - change_ssn: cambio - get_started: Empezar - enrollment_form: Formulario de inscripción - forms: - address1: Dirección - address2: Dirección (opcional) - city: Ciudad - dob: Fecha de nacimiento - first_name: Nombre de pila - last_name: Apellido - ssn: Número de seguridad social - state: Estado - zip_code: Código postal - headings: - enrollment_form: Traiga este formulario a su oficina de correos - enter_info: Ingrese su información - usps_list: Elija una oficina de correos - welcome: Verifica tu identidad en persona - zip_code: Encuentra una oficina de correos - info: - enrollment_form: Imprima o guarde este formulario y llévelo a la oficina de - correos que elija. - welcome: Podemos verificar su identidad en su oficina de correos local. - instructions: - bullet1: Elija una oficina de correos cercana - bullet2: ingrese su informacion - bullet3: Imprime o guarda tu formulario de inscripción - bullet4: Visita la oficina de correos para ser verificado - bullet5: Regrese a login.gov - encrypt: Cuando vuelva a ingresar su contraseña, login.gov protegerá la información - que nos ha proporcionado, de modo que solo usted pueda acceder a ella. - enrollment_form: 'Lleve este código a la siguiente oficina postal junto con - una identificación emitida por el gobierno:' - read_more_encrypt: Lea más sobre cómo login.gov protege su información personal - text1: ingresando su código postal - text2: nombre, fecha de nacimiento, dirección y número de seguro social - text3: un código de barras que debe llevar a la oficina de correos - text4: traiga su código de inscripción y una identificación emitida por el gobierno - text5: iniciar sesión y finalizar el proceso - welcome: 'Lo que deberás hacer:' - opt_in_link: En cambio, verifique su identidad en persona en una oficina de correos - local - step: Verifique su identidad en persona - Paso %{step} de 5 - titles: - in_person_proofing: Verifica tu identidad en persona - warning: - enrollment_form: Descargue, imprima o guarde su formulario de inscripción. También - se ha enviado una copia a su correo electrónico. diff --git a/config/locales/in_person_proofing/fr.yml b/config/locales/in_person_proofing/fr.yml deleted file mode 100644 index ab9931bd8ba..00000000000 --- a/config/locales/in_person_proofing/fr.yml +++ /dev/null @@ -1,54 +0,0 @@ ---- -fr: - in_person_proofing: - buttons: - change_address: changement - change_ssn: changement - get_started: Commencer - enrollment_form: Formulaire d'engagement - forms: - address1: Adresse - address2: Adresse (facultatif) - city: Ville - dob: Date de naissance - first_name: Prénom - last_name: Nom de famille - ssn: Numéro de sécurité sociale - state: Etat - zip_code: Code postal - headings: - enrollment_form: Apportez ce formulaire à votre bureau de poste - enter_info: Entrez vos informations - usps_list: Choisissez un bureau de poste - welcome: Vérifiez votre identité en personne - zip_code: Trouver un bureau de poste - info: - enrollment_form: Veuillez imprimer ou enregistrer ce formulaire et l'apporter - au bureau de poste de votre choix. - welcome: Nous pouvons vérifier votre identité à votre bureau de poste local. - instructions: - bullet1: Choisissez un bureau de poste à proximité - bullet2: Entrez vos informations - bullet3: Imprimez ou enregistrez votre formulaire d'inscription - bullet4: Visitez le bureau de poste pour être vérifié - bullet5: Revenez à login.gov - encrypt: Lorsque vous ressaisissez votre mot de passe, login.gov protégera les - informations que vous nous avez fournies, afin que vous seul puissiez y accéder. - enrollment_form: 'Apportez ce code au bureau de poste suivant avec une pièce - d''identité officielle:' - read_more_encrypt: En savoir plus sur la façon dont login.gov protège vos informations - personnelles - text1: en entrant votre code postal - text2: nom, date de naissance, adresse et numéro de sécurité sociale - text3: un code-barres que vous devez emporter au bureau de poste avec vous - text4: apportez votre code d'inscription et une pièce d'identité officielle - text5: connectez-vous et terminez le processus - welcome: 'Ce que vous devez faire:' - opt_in_link: Vérifiez plutôt votre identité en personne dans un bureau de poste - local - step: Vérifiez votre identité en personne - Étape %{step} sur 5 - titles: - in_person_proofing: Vérifiez votre identité en personne - warning: - enrollment_form: Téléchargez, imprimez ou enregistrez votre formulaire d'inscription. - Une copie a également été envoyée à votre adresse e-mail. diff --git a/config/routes.rb b/config/routes.rb index 49690a6a353..fd4fc9ef389 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -323,9 +323,6 @@ get '/recovery/:step' => 'recovery#show', as: :recovery_step put '/recovery/:step' => 'recovery#update' end - get '/in_person' => 'in_person#index' - get '/in_person/:step' => 'in_person#show', as: :in_person_step - put '/in_person/:step' => 'in_person#update' end get '/account/verify' => 'users/verify_account#index', as: :verify_account diff --git a/lib/feature_management.rb b/lib/feature_management.rb index d2109c64081..9f755547e3c 100644 --- a/lib/feature_management.rb +++ b/lib/feature_management.rb @@ -95,10 +95,6 @@ def self.backup_codes_as_only_2fa? AppConfig.env.backup_codes_as_only_2fa == 'true' end - def self.in_person_proofing_enabled? - AppConfig.env.in_person_proofing_enabled == 'true' - end - def self.gpo_upload_enabled? # leaving the usps name for backwards compatibility AppConfig.env.usps_upload_enabled == 'true' diff --git a/spec/features/idv/doc_auth/document_capture_step_spec.rb b/spec/features/idv/doc_auth/document_capture_step_spec.rb index 33d326b7925..3145c49904e 100644 --- a/spec/features/idv/doc_auth/document_capture_step_spec.rb +++ b/spec/features/idv/doc_auth/document_capture_step_spec.rb @@ -3,7 +3,6 @@ feature 'doc auth document capture step' do include IdvStepHelper include DocAuthHelper - include InPersonHelper let(:max_attempts) { AppConfig.env.acuant_max_attempts.to_i } let(:user) { user_with_2fa } @@ -101,19 +100,6 @@ ) end - it 'offers in person option on failure' do - enable_in_person_proofing - - expect(page).to_not have_link(t('in_person_proofing.opt_in_link'), - href: idv_in_person_welcome_step) - - mock_general_doc_auth_client_error(:create_document) - attach_and_submit_images - - expect(page).to have_link(t('in_person_proofing.opt_in_link'), - href: idv_in_person_welcome_step) - end - it 'throttles calls to acuant and allows retry after the attempt window' do allow_any_instance_of(ApplicationController).to receive(:analytics).and_return(fake_analytics) allow(AppConfig.env).to receive(:acuant_max_attempts).and_return(max_attempts) diff --git a/spec/features/idv/doc_auth/verify_step_spec.rb b/spec/features/idv/doc_auth/verify_step_spec.rb index 2d059768ac6..6cf7a24341f 100644 --- a/spec/features/idv/doc_auth/verify_step_spec.rb +++ b/spec/features/idv/doc_auth/verify_step_spec.rb @@ -3,7 +3,6 @@ feature 'doc auth verify step' do include IdvStepHelper include DocAuthHelper - include InPersonHelper let(:skip_step_completion) { false } let(:max_attempts) { idv_max_attempts } @@ -91,22 +90,7 @@ click_idv_continue click_idv_continue - enable_in_person_proofing expect(page).to have_current_path(idv_session_errors_warning_path) - expect(page).to_not have_link(t('in_person_proofing.opt_in_link'), - href: idv_in_person_welcome_step) - end - - it 'has a link to proof in person' do - enable_in_person_proofing - sign_in_and_2fa_user - complete_doc_auth_steps_before_ssn_step - fill_out_ssn_form_with_duplicate_ssn - click_idv_continue - click_idv_continue - - expect(page).to have_link(t('in_person_proofing.opt_in_link'), - href: idv_in_person_welcome_step) end it 'throttles resolution and continues when it expires' do diff --git a/spec/features/idv/in_person/bar_code_step_spec.rb b/spec/features/idv/in_person/bar_code_step_spec.rb deleted file mode 100644 index 1710eacf354..00000000000 --- a/spec/features/idv/in_person/bar_code_step_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'rails_helper' - -feature 'in person find usps step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_bar_code_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_bar_code_step) - end - - it 'proceeds to the next step' do - click_link t('forms.buttons.continue') - - expect(page).to have_current_path(account_path) - end -end diff --git a/spec/features/idv/in_person/encrypt_step_spec.rb b/spec/features/idv/in_person/encrypt_step_spec.rb deleted file mode 100644 index fba3829e7b9..00000000000 --- a/spec/features/idv/in_person/encrypt_step_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'rails_helper' - -feature 'in person encrypt step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_encrypt_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_encrypt_step) - end - - it 'proceeds to the next step' do - click_continue - - expect(page).to have_current_path(idv_in_person_bar_code_step) - end -end diff --git a/spec/features/idv/in_person/enter_info_step_spec.rb b/spec/features/idv/in_person/enter_info_step_spec.rb deleted file mode 100644 index f85ffeddf6f..00000000000 --- a/spec/features/idv/in_person/enter_info_step_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'rails_helper' - -feature 'in person enter info step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_enter_info_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_enter_info_step) - end - - it 'proceeds to the next page' do - click_continue - - expect(page).to have_current_path(idv_in_person_verify_step) - end -end diff --git a/spec/features/idv/in_person/find_usps_step_spec.rb b/spec/features/idv/in_person/find_usps_step_spec.rb deleted file mode 100644 index 133e698b866..00000000000 --- a/spec/features/idv/in_person/find_usps_step_spec.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'rails_helper' - -feature 'in person find usps step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_find_usps_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_find_usps_step) - end - - it 'proceeds to next page with a zip code' do - fill_in :in_person_zip_code, with: Faker::Address.zip_code - click_continue - - expect(page).to have_current_path(idv_in_person_usps_list_step) - end -end diff --git a/spec/features/idv/in_person/usps_list_step_spec.rb b/spec/features/idv/in_person/usps_list_step_spec.rb deleted file mode 100644 index c204eb0ab8b..00000000000 --- a/spec/features/idv/in_person/usps_list_step_spec.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'rails_helper' - -feature 'in person usps list step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_usps_list_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_usps_list_step) - end - - it 'proceeds to the next page' do - click_continue - expect(page).to have_current_path(idv_in_person_enter_info_step) - end -end diff --git a/spec/features/idv/in_person/verify_step_spec.rb b/spec/features/idv/in_person/verify_step_spec.rb deleted file mode 100644 index 7d7c42133b7..00000000000 --- a/spec/features/idv/in_person/verify_step_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'rails_helper' - -feature 'in person verify info step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_verify_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_verify_step) - end - - it 'proceeds to the next page' do - click_continue - - expect(page).to have_current_path(idv_in_person_encrypt_step) - end -end diff --git a/spec/features/idv/in_person/welcome_step_spec.rb b/spec/features/idv/in_person/welcome_step_spec.rb deleted file mode 100644 index 0587e4a3e5e..00000000000 --- a/spec/features/idv/in_person/welcome_step_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'rails_helper' - -feature 'in person welcome step' do - include InPersonHelper - - before do - enable_in_person_proofing - sign_in_and_2fa_user - complete_in_person_steps_before_welcome_step - end - - it 'is on the correct page' do - expect(page).to have_current_path(idv_in_person_welcome_step) - end -end diff --git a/spec/support/features/in_person_helper.rb b/spec/support/features/in_person_helper.rb deleted file mode 100644 index bc9a8de1fac..00000000000 --- a/spec/support/features/in_person_helper.rb +++ /dev/null @@ -1,67 +0,0 @@ -module InPersonHelper - def idv_in_person_welcome_step - idv_in_person_step_path(step: :welcome) - end - - def idv_in_person_find_usps_step - idv_in_person_step_path(step: :find_usps) - end - - def idv_in_person_usps_list_step - idv_in_person_step_path(step: :usps_list) - end - - def idv_in_person_enter_info_step - idv_in_person_step_path(step: :enter_info) - end - - def idv_in_person_verify_step - idv_in_person_step_path(step: :verify) - end - - def idv_in_person_encrypt_step - idv_in_person_step_path(step: :encrypt) - end - - def idv_in_person_bar_code_step - idv_in_person_step_path(step: :bar_code) - end - - def enable_in_person_proofing - allow(AppConfig.env).to receive(:in_person_proofing_enabled).and_return('true') - end - - def complete_in_person_steps_before_welcome_step - visit idv_in_person_welcome_step - end - - def complete_in_person_steps_before_find_usps_step - complete_in_person_steps_before_welcome_step - click_on t('in_person_proofing.buttons.get_started') - end - - def complete_in_person_steps_before_usps_list_step - complete_in_person_steps_before_find_usps_step - click_continue - end - - def complete_in_person_steps_before_enter_info_step - complete_in_person_steps_before_usps_list_step - click_continue - end - - def complete_in_person_steps_before_verify_step - complete_in_person_steps_before_enter_info_step - click_continue - end - - def complete_in_person_steps_before_encrypt_step - complete_in_person_steps_before_verify_step - click_continue - end - - def complete_in_person_steps_before_bar_code_step - complete_in_person_steps_before_encrypt_step - click_continue - end -end