1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

Ensure a user's identities are deleted when user is deleted

This commit is contained in:
Steven Nguyen 2023-07-14 16:12:48 -07:00
parent 27e212553d
commit 9ac4c998ae
No known key found for this signature in database

View file

@ -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);
}
/**