mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-23 01:22:30 +01:00
Update UpdatePasswordRequest.php
This commit is contained in:
parent
78e03cb9b2
commit
53c7ec9126
@ -34,9 +34,6 @@ class UpdatePasswordRequest extends ClientApiRequest
|
|||||||
{
|
{
|
||||||
$rules = User::getRulesForUpdate($this->user());
|
$rules = User::getRulesForUpdate($this->user());
|
||||||
|
|
||||||
return [
|
return ['password' => array_merge($rules['password'], ['confirmed'])];
|
||||||
'password' => array_merge($rules['password'], ['confirmed']),
|
|
||||||
'new_password' => 'required|string',
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user