mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for password confrim
This commit is contained in:
parent
7af6471b0b
commit
022a36c394
@ -45,7 +45,7 @@ class ClientRegisterService
|
||||
$rules[$field] = array_merge($rules[$field], ['email:rfc,dns', 'max:191', Rule::unique('client_contacts')->where('company_id', $this->company->id)]);
|
||||
}
|
||||
|
||||
if ($field === 'current_password') {
|
||||
if ($field === 'current_password' || $field === 'password') {
|
||||
$rules[$field] = array_merge($rules[$field], ['string', 'min:6', 'confirmed']);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user