mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Update UpdatePasswordRequest.php
This commit is contained in:
@@ -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',
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user