Change to new password instead

This commit is contained in:
Lance Pioch 2020-04-07 19:25:11 -04:00 committed by GitHub
parent d6640eacec
commit f9e6df5d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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