From 53c7ec9126bd82aa98f66c5a56571de9bede28f1 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 8 Apr 2020 03:00:03 -0400 Subject: [PATCH] Update UpdatePasswordRequest.php --- .../Requests/Api/Client/Account/UpdatePasswordRequest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php b/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php index d279bd0a6..f52b71297 100644 --- a/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php +++ b/app/Http/Requests/Api/Client/Account/UpdatePasswordRequest.php @@ -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'])]; } }