Describe the Bug
When an admin invites a user to an organization, and the user accepts the invite but later deletes their Pangolin account, the user is still counted in the organization’s billing user count.
This results in an incorrect number of users being shown in the billing section.
Environment
Running on Pangolin Cloud, no local/self-hosted components involved.
To Reproduce
- Login as Admin in an organization
- Invite a new user via Manage Users
- The invited user registers on Pangolin and accepts the invitation
- The user deletes their Pangolin account
- Go to the billing section
Expected Behavior
The deleted user should be automatically removed from the organization and should not be counted in billing.
Describe the Bug
When an admin invites a user to an organization, and the user accepts the invite but later deletes their Pangolin account, the user is still counted in the organization’s billing user count.
This results in an incorrect number of users being shown in the billing section.
Environment
Running on Pangolin Cloud, no local/self-hosted components involved.
To Reproduce
Expected Behavior
The deleted user should be automatically removed from the organization and should not be counted in billing.