diff --git a/app/components/password_complexity_component/password_complexity_component.en.yml b/app/components/password_complexity_component/password_complexity_component.en.yml index d5930cd58..70f74ef40 100644 --- a/app/components/password_complexity_component/password_complexity_component.en.yml +++ b/app/components/password_complexity_component/password_complexity_component.en.yml @@ -7,4 +7,4 @@ en: strong: Congratulations! Password is strong and secure enough. weak: Vulnerable password. weakest: Very vulnerable password. - hint: A short sentence with punctuation can be a very secure password. + hint_html:

A short sentence with punctuation can be a very secure password.

diff --git a/app/components/password_complexity_component/password_complexity_component.fr.yml b/app/components/password_complexity_component/password_complexity_component.fr.yml index baf499af6..506d2a266 100644 --- a/app/components/password_complexity_component/password_complexity_component.fr.yml +++ b/app/components/password_complexity_component/password_complexity_component.fr.yml @@ -7,4 +7,4 @@ fr: strong: Félicitations ! Mot de passe suffisamment fort et sécurisé. weak: Mot de passe vulnérable. weakest: Mot de passe très vulnérable. - hint: Pour un mot de passe sécurisé, éviter d'utiliser des suites ou des répétitions de même caractère. Vous pouvez par exemple choisir une phrase (avec des espaces) que vous retiendrez facilement. + hint_html:

Pour un mot de passe sécurisé, éviter d'utiliser des suites ou des répétitions de mêmes caractères.

Vous pouvez par exemple choisir une phrase (avec des espaces) que vous retiendrez facilement.

diff --git a/app/components/password_complexity_component/password_complexity_component.html.haml b/app/components/password_complexity_component/password_complexity_component.html.haml index bfa7d5620..e4813b617 100644 --- a/app/components/password_complexity_component/password_complexity_component.html.haml +++ b/app/components/password_complexity_component/password_complexity_component.html.haml @@ -3,4 +3,4 @@ %div{ class: alert_classes } %h3.fr-alert__title= title - if !success? - %p= t(".hint") + = t(".hint_html")