Update AccountController.php

This commit is contained in:
Lance Pioch
2020-04-08 02:59:38 -04:00
committed by GitHub
parent f9e6df5d71
commit 78e03cb9b2

View File

@@ -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);
}