From 78e03cb9b229c02e8e757b495762bc3ad79a3ecf Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 8 Apr 2020 02:59:38 -0400 Subject: [PATCH] Update AccountController.php --- app/Http/Controllers/Api/Client/AccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/Client/AccountController.php b/app/Http/Controllers/Api/Client/AccountController.php index a89806e35..5d633c480 100644 --- a/app/Http/Controllers/Api/Client/AccountController.php +++ b/app/Http/Controllers/Api/Client/AccountController.php @@ -78,7 +78,7 @@ class AccountController extends ClientApiController { $this->updateService->handle($request->user(), $request->validated()); - $this->sessionGuard->logoutOtherDevices($request->input('new_password')); + $this->sessionGuard->logoutOtherDevices($request->input('password')); return JsonResponse::create([], Response::HTTP_NO_CONTENT); }