diff --git a/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php b/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php index f52b71297..d279bd0a6 100644 --- a/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php +++ b/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php @@ -34,6 +34,9 @@ class UpdatePasswordRequest extends ClientApiRequest { $rules = User::getRulesForUpdate($this->user()); - return ['password' => array_merge($rules['password'], ['confirmed'])]; + return [ + 'password' => array_merge($rules['password'], ['confirmed']), + 'new_password' => 'required|string', + ]; } }