Makes password at least 8 chars

main
Yasen Pramatarov 2025-04-14 15:48:54 +03:00
parent 649a94c560
commit 9e94639657
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ try {
'password' => [
'type' => 'string',
'required' => true,
'min' => 5
'min' => 8
]
];

View File

@ -12,7 +12,7 @@
</div>
<div class="form-group mb-3">
<input type="password" class="form-control w-50 mx-auto" name="password" placeholder="Password"
pattern=".{5,}" title="Eight or more characters"
pattern=".{8,}" title="Eight or more characters"
required />
</div>
<div class="form-group mb-3">