+
+ <%= render ButtonComponent.new(
+ url: sign_up_completed_path,
+ big: true,
+ wide: true,
+ class: 'margin-bottom-2 margin-top-3',
+ ).with_content(t('login_cancel.keep_going')) %>
+
+ <%= render ButtonComponent.new(
+ url: return_to_sp_cancel_path(step: :sign_up),
+ big: true,
+ wide: true,
+ outline: true,
+ ).with_content(t('login_cancel.exit', app_name: APP_NAME)) %>
+
+
+
+<% end %>
diff --git a/app/views/idv/by_mail/enter_code/index.html.erb b/app/views/idv/by_mail/enter_code/index.html.erb
index 98d858879e4..db906f3bc91 100644
--- a/app/views/idv/by_mail/enter_code/index.html.erb
+++ b/app/views/idv/by_mail/enter_code/index.html.erb
@@ -1,7 +1,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: step_indicator_steps,
- current_step: :get_a_letter,
+ current_step: :verify_address,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
diff --git a/app/views/idv/by_mail/enter_code_rate_limited/index.html.erb b/app/views/idv/by_mail/enter_code_rate_limited/index.html.erb
index de3a88411f6..d6cc5b2e304 100644
--- a/app/views/idv/by_mail/enter_code_rate_limited/index.html.erb
+++ b/app/views/idv/by_mail/enter_code_rate_limited/index.html.erb
@@ -30,7 +30,7 @@
app_name: APP_NAME, sp_name: decorated_sp_session.sp_name,
),
return_to_sp_failure_to_proof_path(
- step: 'get_a_letter',
+ step: 'verify_address',
location: request.params[:action],
),
) %>
@@ -41,7 +41,7 @@
app_name: APP_NAME,
),
return_to_sp_failure_to_proof_path(
- step: 'get_a_letter',
+ step: 'verify_address',
location: request.params[:action],
),
) %>
diff --git a/app/views/idv/by_mail/letter_enqueued/show.html.erb b/app/views/idv/by_mail/letter_enqueued/show.html.erb
index 927be4030f8..e374f2c6a85 100644
--- a/app/views/idv/by_mail/letter_enqueued/show.html.erb
+++ b/app/views/idv/by_mail/letter_enqueued/show.html.erb
@@ -1,7 +1,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: step_indicator_steps,
- current_step: :get_a_letter,
+ current_step: :verify_address,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
@@ -36,7 +36,7 @@
<% if decorated_sp_session.sp_name.present? %>
<%= link_to(
t('idv.cancel.actions.exit', app_name: APP_NAME),
- return_to_sp_cancel_path(step: :get_a_letter, location: :come_back_later),
+ return_to_sp_cancel_path(step: :verify_address, location: :come_back_later),
class: 'usa-button usa-button--big usa-button--wide',
) %>
<% else %>
diff --git a/app/views/idv/by_mail/request_letter/index.html.erb b/app/views/idv/by_mail/request_letter/index.html.erb
index 36ff8925eaa..4f3cc18f59a 100644
--- a/app/views/idv/by_mail/request_letter/index.html.erb
+++ b/app/views/idv/by_mail/request_letter/index.html.erb
@@ -3,7 +3,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: step_indicator_steps,
- current_step: @step_indicator_current_step,
+ current_step: :verify_address,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
diff --git a/app/views/idv/in_person/state_id/show.html.erb b/app/views/idv/in_person/state_id/show.html.erb
index fa3a4b8fccd..d7f03c7ec35 100644
--- a/app/views/idv/in_person/state_id/show.html.erb
+++ b/app/views/idv/in_person/state_id/show.html.erb
@@ -237,7 +237,7 @@
<% end %>
<% end %>
<% if updating_state_id %>
- <%= render 'idv/shared/back', action: 'cancel_update_state_id' %>
+ <%= render 'idv/shared/back', fallback_path: idv_in_person_verify_info_path %>
<% else %>
<%= render 'idv/doc_auth/cancel', step: 'state_id' %>
<% end %>
diff --git a/app/views/idv/otp_verification/show.html.erb b/app/views/idv/otp_verification/show.html.erb
index b0c444118d1..90e43a76ba9 100644
--- a/app/views/idv/otp_verification/show.html.erb
+++ b/app/views/idv/otp_verification/show.html.erb
@@ -1,7 +1,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: step_indicator_steps,
- current_step: :verify_phone_or_address,
+ current_step: :verify_phone,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
@@ -21,7 +21,7 @@
value: @code,
numeric: false,
autofocus: true,
- code_length: TwoFactorAuthenticatable::PROOFING_DIRECT_OTP_LENGTH,
+ code_length: @otp_code_length,
optional_prefix: '#',
class: 'margin-bottom-5',
) %>
diff --git a/app/views/idv/personal_key/show.html.erb b/app/views/idv/personal_key/show.html.erb
index 2f75f1aa9da..ff2cbc94206 100644
--- a/app/views/idv/personal_key/show.html.erb
+++ b/app/views/idv/personal_key/show.html.erb
@@ -1,7 +1,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: step_indicator_steps,
- current_step: StepIndicatorComponent::ALL_STEPS_COMPLETE,
+ current_step: step_indicator_step,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
diff --git a/app/views/idv/phone/new.html.erb b/app/views/idv/phone/new.html.erb
index 5b75d108c96..f87d4f579d2 100644
--- a/app/views/idv/phone/new.html.erb
+++ b/app/views/idv/phone/new.html.erb
@@ -1,7 +1,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: step_indicator_steps,
- current_step: :verify_phone_or_address,
+ current_step: :verify_phone,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
diff --git a/app/views/idv/phone_errors/_warning.html.erb b/app/views/idv/phone_errors/_warning.html.erb
index 1db68d18f5d..2148f16a020 100644
--- a/app/views/idv/phone_errors/_warning.html.erb
+++ b/app/views/idv/phone_errors/_warning.html.erb
@@ -14,7 +14,7 @@ locals:
text: t('idv.failure.button.warning'),
url: idv_phone_path,
},
- current_step: :verify_phone_or_address,
+ current_step: :verify_phone,
options: [
local_assigns[:contact_support_option] && {
url: MarketingSite.contact_url,
diff --git a/app/views/idv/phone_errors/failure.html.erb b/app/views/idv/phone_errors/failure.html.erb
index 899290424e2..52384e59624 100644
--- a/app/views/idv/phone_errors/failure.html.erb
+++ b/app/views/idv/phone_errors/failure.html.erb
@@ -2,7 +2,7 @@
'idv/shared/error',
title: t('titles.failure.phone_verification'),
heading: t('idv.failure.phone.rate_limited.heading'),
- current_step: :verify_phone_or_address,
+ current_step: :verify_phone,
options: [
{
url: MarketingSite.contact_url,
@@ -44,4 +44,3 @@
<%= render PageFooterComponent.new do %>
<%= link_to(t('links.cancel'), idv_cancel_path(step: :phone_error)) %>
<% end %>
-
diff --git a/app/views/idv/phone_errors/warning.html.erb b/app/views/idv/phone_errors/warning.html.erb
index a088ebd3b77..b22229997f2 100644
--- a/app/views/idv/phone_errors/warning.html.erb
+++ b/app/views/idv/phone_errors/warning.html.erb
@@ -3,7 +3,7 @@
type: :warning,
title: t('titles.failure.phone_verification'),
heading: t('idv.failure.phone.warning.heading'),
- current_step: :verify_phone_or_address,
+ current_step: :verify_phone,
) do %>
<% if @phone %>
diff --git a/app/views/idv/please_call/show.html.erb b/app/views/idv/please_call/show.html.erb
index 71b455203e4..fc25e90525e 100644
--- a/app/views/idv/please_call/show.html.erb
+++ b/app/views/idv/please_call/show.html.erb
@@ -2,7 +2,7 @@
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
steps: Idv::StepIndicatorConcern::STEP_INDICATOR_STEPS,
- current_step: :secure_account,
+ current_step: :re_enter_password,
locale_scope: 'idv',
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
diff --git a/app/views/sign_up/completions/show.html.erb b/app/views/sign_up/completions/show.html.erb
index 86d6e4bf864..0ddd6e6dfa2 100644
--- a/app/views/sign_up/completions/show.html.erb
+++ b/app/views/sign_up/completions/show.html.erb
@@ -57,5 +57,5 @@
<% end %>
<%= render PageFooterComponent.new do %>
- <%= link_to t('links.cancel'), return_to_sp_cancel_path(step: :sign_up) %>
+ <%= link_to t('links.cancel'), sign_up_completed_cancel_path %>
<% end %>
diff --git a/config/application.yml.default b/config/application.yml.default
index dcdbf572266..228d7775106 100644
--- a/config/application.yml.default
+++ b/config/application.yml.default
@@ -20,6 +20,8 @@ aamva_cert_enabled: true
aamva_supported_jurisdictions: '["AL","AR","AZ","CO","CT","DC","DE","FL","GA","HI","IA","ID","IL","IN","KS","KY","MA","MD","ME","MI","MO","MS","MT","NC","ND","NE","NJ","NM","NV","OH","OR","PA","RI","SC","SD","TN","TX","VA","VT","WA","WI","WV","WY"]'
aamva_verification_request_timeout: 5.0
aamva_verification_url: https://example.org:12345/verification/url
+ab_testing_idv_ten_digit_otp_enabled: false
+ab_testing_idv_ten_digit_otp_percent: 0
all_redirect_uris_cache_duration_minutes: 2
allowed_ialmax_providers: '[]'
allowed_verified_within_providers: '[]'
@@ -105,8 +107,6 @@ enable_load_testing_mode: false
enable_rate_limiting: true
enable_test_routes: true
enable_usps_verification: true
-encrypted_document_storage_enabled: false
-encrypted_document_storage_s3_bucket: ''
event_disavowal_expiration_hours: 240
feature_idv_force_gpo_verification_enabled: false
feature_idv_hybrid_flow_enabled: true
diff --git a/config/initializers/ab_tests.rb b/config/initializers/ab_tests.rb
index 096647a52c4..feb9607c48c 100644
--- a/config/initializers/ab_tests.rb
+++ b/config/initializers/ab_tests.rb
@@ -30,4 +30,15 @@ module AbTests
0,
},
).freeze
+
+ IDV_TEN_DIGIT_OTP = AbTestBucket.new(
+ experiment_name: 'idv_ten_digit_otp',
+ default_bucket: :six_alphanumeric_otp,
+ buckets: {
+ ten_digit_otp:
+ IdentityConfig.store.ab_testing_idv_ten_digit_otp_enabled ?
+ IdentityConfig.store.ab_testing_idv_ten_digit_otp_percent :
+ 0,
+ },
+ ).freeze
end
diff --git a/config/locales/doc_auth/es.yml b/config/locales/doc_auth/es.yml
index f1f4b4fc517..d9553a752b0 100644
--- a/config/locales/doc_auth/es.yml
+++ b/config/locales/doc_auth/es.yml
@@ -245,7 +245,8 @@ es:
too_many_faces: Demasiados rostros
ssn: Necesitamos su número de Seguro Social para verificar su nombre, fecha de
nacimiento y dirección.
- stepping_up_html: Verifica su identidad de nuevo para acceder a este servicio. %{link_html}
+ stepping_up_html: Verifique su identidad de nuevo para acceder a este servicio.
+ %{link_html}
tag: Recomendado
upload_from_computer: '¿No tiene un teléfono? Cargue fotos de su identificación
desde esta computadora.'
diff --git a/config/locales/headings/en.yml b/config/locales/headings/en.yml
index 89dad46edc7..50d423f8076 100644
--- a/config/locales/headings/en.yml
+++ b/config/locales/headings/en.yml
@@ -18,6 +18,7 @@ en:
add_info:
phone: Add a phone number
cancellations:
+ login_cancel_prompt: Are you sure you want to cancel and exit %{app_name}?
prompt: Are you sure you want to cancel?
create_account_new_users: Create an account for new users
create_account_with_sp:
diff --git a/config/locales/headings/es.yml b/config/locales/headings/es.yml
index 893fe6e34d6..6bad5062a74 100644
--- a/config/locales/headings/es.yml
+++ b/config/locales/headings/es.yml
@@ -18,7 +18,8 @@ es:
add_info:
phone: Agregar un número de teléfono
cancellations:
- prompt: '¿Está seguro de que desea cancelar?'
+ login_cancel_prompt: ¿Está seguro de que desea cancelar y salir de %{app_name}?
+ prompt: '¿Estas seguro que quieres cancelar?'
create_account_new_users: Crear una cuenta para usuarios nuevos
create_account_with_sp:
sp_text: está usando %{app_name} para permitirle iniciar sesión en su cuenta de
diff --git a/config/locales/headings/fr.yml b/config/locales/headings/fr.yml
index a9ab58eaee4..054857153a0 100644
--- a/config/locales/headings/fr.yml
+++ b/config/locales/headings/fr.yml
@@ -18,7 +18,8 @@ fr:
add_info:
phone: Ajouter un numéro de téléphone
cancellations:
- prompt: Êtes-vous sûr de vouloir annuler ?
+ login_cancel_prompt: Êtes-vous sûr de vouloir annuler et quitter %{app_name}?
+ prompt: Es-tu sûre de vouloir annuler?
create_account_new_users: Créer un compte pour les nouveaux utilisateurs
create_account_with_sp:
sp_text: utilise %{app_name} pour vous permettre de vous connecter à votre
diff --git a/config/locales/headings/zh.yml b/config/locales/headings/zh.yml
index e3c10322476..c51ece82d09 100644
--- a/config/locales/headings/zh.yml
+++ b/config/locales/headings/zh.yml
@@ -18,6 +18,7 @@ zh:
add_info:
phone: 添加一个电话号码
cancellations:
+ login_cancel_prompt: 你确定要取消并退出 %{app_name} 吗?
prompt: 你确定要取消吗?
create_account_new_users: 为新用户创建一个账户
create_account_with_sp:
diff --git a/config/locales/login_cancel/en.yml b/config/locales/login_cancel/en.yml
new file mode 100644
index 00000000000..5552a35d773
--- /dev/null
+++ b/config/locales/login_cancel/en.yml
@@ -0,0 +1,11 @@
+---
+en:
+ login_cancel:
+ account_page: account page
+ bullet1_html: You won’t be able to use %{app_name} to access
+