Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds min password to views #654

Merged
merged 1 commit into from
Feb 13, 2024
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/views/admins/registrations/new.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ h1.govuk-heading-xl Create an account
required: true,
label: 'Password',
hint: ("#{@minimum_password_length} characters minimum" if @validatable),
input_html: { class: "password-strength-meter js-disable-copy medium", "data-min-password-length" => "10" }
input_html: { class: "password-strength-meter js-disable-copy medium", "data-min-password-length" => "14" }
span#password-result-span.input-group-addon
i#password-result.glyphicon.glyphicon-ok

Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/users/_form_password_settings.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ h2.govuk-heading-l
label: false,
input_html: { class: "big medium password-strength-meter js-disable-copy",
autocomplete: "off",
"data-min-password-length": "10" }
"data-min-password-length": "14" }
span#password-result-span.input-group-addon
i#password-result.glyphicon.glyphicon-ok

Expand Down
2 changes: 1 addition & 1 deletion app/views/users/registrations/new.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
required: true,
label: 'Password',
hint: ("#{@minimum_password_length} characters minimum" if @validatable),
input_html: { class: "password-strength-meter js-disable-copy medium govuk-input--width-10", "data-min-password-length" => "10" }
input_html: { class: "password-strength-meter js-disable-copy medium govuk-input--width-10", "data-min-password-length" => "14" }
span#password-result-span.input-group-addon
i#password-result.glyphicon.glyphicon-ok

Expand Down
Loading