Ensure a user's identities are deleted when user is deleted
This commit is contained in:
parent
27e212553d
commit
9ac4c998ae
1 changed files with 5 additions and 0 deletions
|
@ -345,6 +345,11 @@ class DeletesV1 extends Worker
|
|||
$this->deleteByGroup('tokens', [
|
||||
Query::equal('userInternalId', [$userInternalId])
|
||||
], $dbForProject);
|
||||
|
||||
// Delete identities
|
||||
$this->deleteByGroup('identities', [
|
||||
Query::equal('userInternalId', [$userInternalId])
|
||||
], $dbForProject);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue