demarches-normaliennes/app/views/password_complexity/_bar.html.haml
Pierre de La Morinerie 428ca8755f app: add a password_complexity component
This component will replace the previous `password_field` component.
2021-09-09 09:40:39 -05:00

1 line
104 B
Text

#complexity-bar.password-complexity{ class: "complexity-#{@length < @min_length ? @score/2 : @score}" }