-
-<%= 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