diff --git a/app/models/throttle.rb b/app/models/throttle.rb index f4001ca75a1..5a5eda5b640 100644 --- a/app/models/throttle.rb +++ b/app/models/throttle.rb @@ -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, @@ -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, diff --git a/config/application.yml.default b/config/application.yml.default index 91920250b8b..c92f3d4fc71 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -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==' @@ -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' diff --git a/config/locales/idv/en.yml b/config/locales/idv/en.yml index e18c8a3b307..6c57e27d1cd 100644 --- a/config/locales/idv/en.yml +++ b/config/locales/idv/en.yml @@ -44,7 +44,7 @@ en: help: get_help_html: Get help at %{sp_name} phone: - fail_html: To protect your identity, you must wait 24 hours + fail_html: To protect your identity, you must wait 6 hours 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. @@ -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 locked - for 24 hours. + for 6 hours. 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. diff --git a/config/locales/idv/es.yml b/config/locales/idv/es.yml index 554bc2c8200..62e76466a16 100644 --- a/config/locales/idv/es.yml +++ b/config/locales/idv/es.yml @@ -46,7 +46,7 @@ es: help: get_help_html: Obtener ayuda en %{sp_name} phone: - fail_html: Para proteger su identidad, debe esperar 24 horas + fail_html: Para proteger su identidad, debe esperar 6 horas 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. @@ -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á - bloqueada durante 24 horas. + bloqueada durante 6 horas. 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 diff --git a/config/locales/idv/fr.yml b/config/locales/idv/fr.yml index 5b871fa66da..87350956c01 100644 --- a/config/locales/idv/fr.yml +++ b/config/locales/idv/fr.yml @@ -48,7 +48,7 @@ fr: help: get_help_html: Obtenir de l'aide à %{sp_name} phone: - fail_html: Pour protéger votre identité, vous devez attendre 24 heures + fail_html: Pour protéger votre identité, vous devez attendre 6 heures 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. @@ -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 verrouillée pendant 24 heures. + est verrouillée pendant 6 heures. 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