mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Added minimum password length to 6 characters. #1373
This commit is contained in:
parent
8d464214c3
commit
cb2b2c465b
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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" %>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue