mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Change to new password instead
This commit is contained in:
parent
d6640eacec
commit
f9e6df5d71
@ -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('new_password'));
|
||||||
|
|
||||||
return JsonResponse::create([], Response::HTTP_NO_CONTENT);
|
return JsonResponse::create([], Response::HTTP_NO_CONTENT);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user