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
- Fixed a bug where points from Immich and Photoprism did not have lonlat attribute set. #1318 - 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 ## Changed

View file

@ -47,11 +47,11 @@
<% end %> <% end %>
<%= f.email_field :email, value: '', class: "input input-bordered" %> <%= f.email_field :email, value: '', class: "input input-bordered" %>
</div> </div>
<div class="form-control"> <div class="form-control mt-5">
<%= f.label :password do %> <%= f.label :password do %>
Password Password
<% end %> <% 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>
<div class="form-control mt-5"> <div class="form-control mt-5">
<%= f.submit "Create", class: "btn btn-primary" %> <%= f.submit "Create", class: "btn btn-primary" %>