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
4 changes: 2 additions & 2 deletions app/models/throttle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Throttle < ApplicationRecord
THROTTLE_CONFIG = {
idv_acuant: {
max_attempts: (AppConfig.env.acuant_max_attempts || 3).to_i,
attempt_window: (AppConfig.env.acuant_attempt_window_in_minutes || 1440).to_i,
attempt_window: (AppConfig.env.acuant_attempt_window_in_minutes || 360).to_i,
},
reg_unconfirmed_email: {
max_attempts: (AppConfig.env.reg_unconfirmed_email_max_attempts || 20).to_i,
Expand All @@ -30,7 +30,7 @@ class Throttle < ApplicationRecord
},
idv_resolution: {
max_attempts: (AppConfig.env.idv_max_attempts || 3).to_i,
attempt_window: (AppConfig.env.idv_attempt_window_in_hours || 24).to_i * 60,
attempt_window: (AppConfig.env.idv_attempt_window_in_hours || 6).to_i * 60,
},
idv_send_link: {
max_attempts: (AppConfig.env.idv_send_link_max_attempts || 5).to_i,
Expand Down
4 changes: 2 additions & 2 deletions config/application.yml.default
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ acuant_maintenance_window_finish: '2020-09-19T05:00:00Z' # 9/19 1am Eastern
acuant_assure_id_password: ''
acuant_assure_id_subscription_id: ''
acuant_assure_id_username: ''
acuant_attempt_window_in_minutes: '1440'
acuant_attempt_window_in_minutes: '360'
acuant_facial_match_license_key: ''
# These are dummy creds used to initialize the acuant SDK
acuant_sdk_initialization_creds: 'aWRzY2FuZ293ZWJAYWN1YW50Y29ycC5jb206NVZLcm81Z0JEc1hrdFh2NA=='
Expand Down Expand Up @@ -61,7 +61,7 @@ google_analytics_timeout: '5'
ial2_recovery_request_valid_for_minutes: '15'
identity_pki_disabled: 'true'
identity_pki_local_dev: 'false'
idv_attempt_window_in_hours: '24'
idv_attempt_window_in_hours: '6'
idv_max_attempts: '3'
idv_send_link_attempt_window_in_minutes: '10'
idv_send_link_max_attempts: '5'
Expand Down
4 changes: 2 additions & 2 deletions config/locales/idv/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ en:
help:
get_help_html: Get help at <strong>%{sp_name}</strong>
phone:
fail_html: To protect your identity, you must <strong>wait 24 hours</strong>
fail_html: To protect your identity, you must <strong>wait 6 hours</strong>
to try a phone number again.
heading: We couldn't match your name and address to this phone number.
jobfail: Something went wrong and we cannot process your request at this time.
Expand All @@ -54,7 +54,7 @@ en:
sessions:
exception: There was an internal error processing your request.
fail_html: For your security, identity verification for your account is <strong>locked
for 24 hours</strong>.
for 6 hours</strong>.
heading: We could not find records matching your personal information.
warning: Please check the information you entered. Common mistakes are an
incorrect Social Security Number, ZIP Code, or date of birth.
Expand Down
4 changes: 2 additions & 2 deletions config/locales/idv/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ es:
help:
get_help_html: Obtener ayuda en <strong>%{sp_name}</strong>
phone:
fail_html: Para proteger su identidad, debe <strong>esperar 24 horas</strong>
fail_html: Para proteger su identidad, debe <strong>esperar 6 horas</strong>
para volver a intentar un número de teléfono.
heading: No pudimos coincidir su nombre y dirección con este número de teléfono.
jobfail: Algo ha fallado y no podemos procesar tu solicitud en este momento.
Expand All @@ -56,7 +56,7 @@ es:
sessions:
exception: Hubo un error interno al procesar su solicitud.
fail_html: Para su seguridad, la verificación de identidad de su cuenta está
<strong>bloqueada durante 24 horas</strong>.
<strong>bloqueada durante 6 horas</strong>.
heading: No hemos podido encontrar registros que coincidan con su información
personal.
warning: Compruebe la información que ingresó. Los errores comunes son números
Expand Down
4 changes: 2 additions & 2 deletions config/locales/idv/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fr:
help:
get_help_html: Obtenir de l'aide à <strong>%{sp_name}</strong>
phone:
fail_html: Pour protéger votre identité, vous devez <strong>attendre 24 heures</strong>
fail_html: Pour protéger votre identité, vous devez <strong>attendre 6 heures</strong>
pour réessayer un numéro de téléphone.
heading: Nous n'avons pas pu faire correspondre votre nom et votre adresse
à ce numéro de téléphone.
Expand All @@ -59,7 +59,7 @@ fr:
sessions:
exception: Une erreur interne s'est produite lors du traitement de votre demande.
fail_html: Pour votre sécurité, la vérification d'identité de votre compte
est <strong>verrouillée pendant 24 heures</strong>.
est <strong>verrouillée pendant 6 heures</strong>.
heading: Nous ne trouvons pas de données qui correspondent à vos informations
téléphoniques.
warning: Veuillez vérifier l'information que vous avez fournie. Un numéro
Expand Down