Skip to content

User count not updated after invited user deletes their account #2839

@mirkohubtv

Description

@mirkohubtv

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.

Image Image

Environment

Running on Pangolin Cloud, no local/self-hosted components involved.

To Reproduce

  1. Login as Admin in an organization
  2. Invite a new user via Manage Users
  3. The invited user registers on Pangolin and accepts the invitation
  4. The user deletes their Pangolin account
  5. Go to the billing section
Image

Expected Behavior

The deleted user should be automatically removed from the organization and should not be counted in billing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions