1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 11:02:31 +01:00

Merge pull request #1893 from pterodactyl/feature/issue-1891

Change to new password and fix #1891
This commit is contained in:
Dane Everitt 2020-04-09 20:16:40 -07:00 committed by GitHub
commit 323c3e4689
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('password'));
return JsonResponse::create([], Response::HTTP_NO_CONTENT);
}