Added minimum password length to 6 characters. #1373

This commit is contained in:
Eugene Burmakin 2025-06-09 11:27:22 +02:00
parent 8d464214c3
commit cb2b2c465b
2 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Fixed
- Fixed a bug where points from Immich and Photoprism did not have lonlat attribute set. #1318
- Added minimum password length to 6 characters. #1373
## Changed

View file

@ -47,11 +47,11 @@
<% end %>
<%= f.email_field :email, value: '', class: "input input-bordered" %>
</div>
<div class="form-control">
<div class="form-control mt-5">
<%= f.label :password do %>
Password
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "input input-bordered" %>
<%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "input input-bordered", minlength: 6 %>
</div>
<div class="form-control mt-5">
<%= f.submit "Create", class: "btn btn-primary" %>