From f9e6df5d71c789979f8aed3bb4d25523820e2629 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Tue, 7 Apr 2020 19:25:11 -0400 Subject: [PATCH] Change to new password instead --- 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 d956fc65..a89806e3 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('current_password')); + $this->sessionGuard->logoutOtherDevices($request->input('new_password')); return JsonResponse::create([], Response::HTTP_NO_CONTENT); }