mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
invalidate oauth2 tokens only for seen users
Signed-off-by: Artur Neumann <artur@jankaritech.com>
This commit is contained in:
parent
f4f7c757d4
commit
cc44ec54ad
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class SettingsController extends Controller {
|
|||
public function deleteClient(int $id): JSONResponse {
|
||||
$client = $this->clientMapper->getByUid($id);
|
||||
|
||||
$this->userManager->callForAllUsers(function (IUser $user) use ($client) {
|
||||
$this->userManager->callForSeenUsers(function (IUser $user) use ($client) {
|
||||
$this->tokenProvider->invalidateTokensOfUser($user->getUID(), $client->getName());
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue