Update UpdatePasswordRequest.php
This commit is contained in:
parent
78e03cb9b2
commit
53c7ec9126
1 changed files with 1 additions and 4 deletions
|
@ -34,9 +34,6 @@ class UpdatePasswordRequest extends ClientApiRequest
|
|||
{
|
||||
$rules = User::getRulesForUpdate($this->user());
|
||||
|
||||
return [
|
||||
'password' => array_merge($rules['password'], ['confirmed']),
|
||||
'new_password' => 'required|string',
|
||||
];
|
||||
return ['password' => array_merge($rules['password'], ['confirmed'])];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue