Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/idv/otp_verification_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def confirm_step_needed
def confirm_otp_sent
return if idv_session.user_phone_confirmation_session.present?

redirect_to idv_otp_delivery_method_url
redirect_to idv_phone_url
end

def set_code
Expand Down
79 changes: 0 additions & 79 deletions app/views/idv/otp_delivery_method/new.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions config/locales/idv/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ en:
mail:
resend: Send another letter
send: Send a letter
send_confirmation_code: Continue
cancel:
actions:
account_page: Go to account page
Expand Down Expand Up @@ -152,9 +151,6 @@ en:
timeframe_html: Letters are sent the next business day via USPS First Class Mail
and <strong>typically take 3 to 7 business days to arrive</strong>.
mail_sent: Your letter is on its way
otp_delivery_method:
phone_number_html: We’ll send a code to <strong>%{phone}</strong> to verify that
the phone number belongs to you.
otp_delivery_method_description: If you entered a landline above, please select “Phone call” below.
personal_key: This is your new personal key. Write it down and keep it in a safe
place. You will need it if you ever lose your password.
Expand Down Expand Up @@ -208,7 +204,6 @@ en:
still_having_trouble: Still having trouble?
options:
add_new_photos: Add new photos of your state-issued ID
change_phone_number: Use a different phone number
contact_support: Contact %{app_name} Support
doc_capture_tips: More tips for adding photos of your ID
get_help_at_sp: Get help at %{sp_name}
Expand Down
5 changes: 0 additions & 5 deletions config/locales/idv/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ es:
mail:
resend: Enviar otra carta
send: Enviar una carta
send_confirmation_code: Continuar
cancel:
actions:
account_page: Ir a la página de la cuenta
Expand Down Expand Up @@ -162,9 +161,6 @@ es:
USPS y <strong>suelen tardar entre 3 y 7 días hábiles en
llegar</strong>.
mail_sent: Su carta está en camino
otp_delivery_method:
phone_number_html: Enviaremos un código a <strong>%{phone}</strong> para
verificar que el número de teléfono le pertenece.
otp_delivery_method_description: Si ha introducido un teléfono fijo más arriba,
seleccione “Llamada telefónica” más abajo.
personal_key: Esta es su nueva clave personal. Escríbala y guárdela en un lugar
Expand Down Expand Up @@ -222,7 +218,6 @@ es:
still_having_trouble: '¿Sigue teniendo dificultades?'
options:
add_new_photos: Añada nuevas fotos de su ID emitido por el estado
change_phone_number: Utiliza un número de teléfono diferente
contact_support: Póngase en contacto con el servicio de asistencia de %{app_name}
doc_capture_tips: Más consejos para agregar fotos de su identificación
get_help_at_sp: Obtenga ayuda en %{sp_name}
Expand Down
5 changes: 0 additions & 5 deletions config/locales/idv/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ fr:
mail:
resend: Envoyer une autre lettre
send: Envoyer une lettre
send_confirmation_code: Continuer
cancel:
actions:
account_page: Accéder à la page de votre compte
Expand Down Expand Up @@ -171,9 +170,6 @@ fr:
première classe de USPS et <strong>prennent généralement entre trois à
sept jours ouvrables pour être reçues</strong>.
mail_sent: Votre lettre est en route
otp_delivery_method:
phone_number_html: Nous enverrons un code à <strong>%{phone}</strong> pour
vérifier que le numéro de téléphone vous appartient.
otp_delivery_method_description: Si vous avez saisi une ligne fixe ci-dessus,
veuillez sélectionner « Appel téléphonique » ci-dessous.
personal_key: Il s’agit de votre nouvelle clé personnelle. Notez-la et
Expand Down Expand Up @@ -238,7 +234,6 @@ fr:
options:
add_new_photos: Ajoutez de nouvelles photos de votre carte d’identité délivrée
par l’État.
change_phone_number: Utiliser un autre numéro de téléphone
contact_support: Contacter le service d’assistance de %{app_name}
doc_capture_tips: Plus de conseils pour ajouter des photos de votre carte d’identité
get_help_at_sp: Demandez de l’aide à %{sp_name}
Expand Down
1 change: 0 additions & 1 deletion config/locales/titles/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ en:
address: Update your mailing address
doc_capture: Add your ID
link_sent: Link sent
otp_delivery: Receive a one-time code
processing_images: Processing your images
ssn: Enter your Social Security number
switch_back: Switch back to your computer
Expand Down
1 change: 0 additions & 1 deletion config/locales/titles/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ es:
address: Actualice su dirección postal
doc_capture: Agrega tu identificación
link_sent: Enlace enviado
otp_delivery: Reciba un código de un solo uso
processing_images: Procesando tus imágenes
ssn: Ingresa tu número del seguro social
switch_back: Regresar a tu computadora
Expand Down
1 change: 0 additions & 1 deletion config/locales/titles/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ fr:
address: Mettez à jour votre adresse postale
doc_capture: Ajoutez votre pièce d’identité
link_sent: Lien envoyé
otp_delivery: Recevez un code à usage unique
processing_images: Traitement de vos images
ssn: Entrez votre numéro de sécurité sociale
switch_back: Retournez sur votre ordinateur
Expand Down
2 changes: 0 additions & 2 deletions config/locales/two_factor_authentication/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,10 @@ en:
piv_cac: Government employee ID
piv_cac_info: PIV/CAC cards for government and military employees. Desktop only.
sms: Text message / SMS
sms_info: Get your one-time code via text message / SMS.
unused_backup_code:
one: '(%{count} unused code)'
other: '(%{count} unused codes)'
voice: Phone call
voice_info: Get your one-time code via phone call.
webauthn: Security key
webauthn_info: A physical device, often shaped like a USB drive, that you plug
in to your device.
Expand Down
2 changes: 0 additions & 2 deletions config/locales/two_factor_authentication/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,10 @@ es:
piv_cac_info: Credenciales PIV/CAC para empleados gubernamentales y del
ejército. Únicamente versión de escritorio.
sms: Mensaje de texto / SMS
sms_info: Obtenga su código de un solo uso a través de un mensaje de texto/SMS.
unused_backup_code:
one: '(%{count} código sin usar)'
other: '(%{count} códigos sin usar)'
voice: Llamada telefónica
voice_info: Obtenga su código de un solo uso a través de una llamada telefónica.
webauthn: Clave de seguridad
webauthn_info: Un dispositivo físico que suele tener la forma de una unidad USB
y se conecta a su dispositivo.
Expand Down
2 changes: 0 additions & 2 deletions config/locales/two_factor_authentication/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,10 @@ fr:
piv_cac_info: Cartes PIV/CAC pour les fonctionnaires et les militaires. Bureau
uniquement.
sms: SMS
sms_info: Recevez votre code à usage unique par message texte/SMS.
unused_backup_code:
one: '(%{count} code non utilisé)'
other: '(%{count} codes non utilisés)'
voice: Appel téléphonique
voice_info: Obtenez votre code à usage unique par appel téléphonique.
webauthn: Clef de sécurité
webauthn_info: Un appareil physique, souvent en forme de clé USB, que vous
branchez sur votre appareil.
Expand Down
2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,6 @@
post '/personal_key' => 'personal_key#update'
get '/forgot_password' => 'forgot_password#new'
post '/forgot_password' => 'forgot_password#update'
get '/otp_delivery_method' => 'otp_delivery_method#new'
put '/otp_delivery_method' => 'otp_delivery_method#create'
get '/ssn' => 'ssn#show'
put '/ssn' => 'ssn#update'
get '/verify_info' => 'verify_info#show'
Expand Down
4 changes: 2 additions & 2 deletions spec/controllers/idv/otp_verification_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

it 'redirects to the delivery method path' do
get :show
expect(response).to redirect_to(idv_otp_delivery_method_path)
expect(response).to redirect_to(idv_phone_url)
end
end

Expand Down Expand Up @@ -76,7 +76,7 @@

it 'redirects to otp delivery method selection' do
put :update, params: otp_code_param
expect(response).to redirect_to(idv_otp_delivery_method_path)
expect(response).to redirect_to(idv_phone_url)
end
end

Expand Down
45 changes: 0 additions & 45 deletions spec/support/idv_examples/fail_to_verify.rb

This file was deleted.

81 changes: 0 additions & 81 deletions spec/views/idv/otp_delivery_method/new.html.erb_spec.rb

This file was deleted.