Merge pull request #1893 from pterodactyl/feature/issue-1891
Change to new password and fix #1891
This commit is contained in:
commit
323c3e4689
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class AccountController extends ClientApiController
|
||||||
{
|
{
|
||||||
$this->updateService->handle($request->user(), $request->validated());
|
$this->updateService->handle($request->user(), $request->validated());
|
||||||
|
|
||||||
$this->sessionGuard->logoutOtherDevices($request->input('current_password'));
|
$this->sessionGuard->logoutOtherDevices($request->input('password'));
|
||||||
|
|
||||||
return JsonResponse::create([], Response::HTTP_NO_CONTENT);
|
return JsonResponse::create([], Response::HTTP_NO_CONTENT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue