Makes password at least 8 chars
parent
649a94c560
commit
9e94639657
|
@ -202,7 +202,7 @@ try {
|
|||
'password' => [
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
'min' => 5
|
||||
'min' => 8
|
||||
]
|
||||
];
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue