[GH-ISSUE #2839] User count not updated after invited user deletes their account #30085

Closed
opened 2026-06-13 10:32:36 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @mirkohubtv on GitHub (Apr 12, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2839

Originally assigned to: @oschwartz10612 on GitHub.

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.

Originally created by @mirkohubtv on GitHub (Apr 12, 2026). Original GitHub issue: https://github.com/fosrl/pangolin/issues/2839 Originally assigned to: @oschwartz10612 on GitHub. ### 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. <img width="2170" height="637" alt="Image" src="https://github.com/user-attachments/assets/ebb4bd2a-6a7c-4951-957b-2ab4dc8cd48c" /> <img width="2144" height="1101" alt="Image" src="https://github.com/user-attachments/assets/7ea654a4-04a1-4685-84a9-dcb2616043c9" /> ### 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 <img width="2200" height="1146" alt="Image" src="https://github.com/user-attachments/assets/0cc12615-3293-4caa-b784-dd70f28fe4e8" /> ### Expected Behavior The deleted user should be automatically removed from the organization and should not be counted in billing.
GiteaMirror added the bug label 2026-06-13 10:32:36 -05:00
Author
Owner

@oschwartz10612 commented on GitHub (Apr 17, 2026):

Hey @mirkohubtv this is a bug thanks for reporting. I will fix this in the back end and take a look at your account so you should see an improvement in the next couple of hours.

In the future for cloud issues feel free to email support@pangolin.net or message through the platform.

<!-- gh-comment-id:4270748237 --> @oschwartz10612 commented on GitHub (Apr 17, 2026): Hey @mirkohubtv this is a bug thanks for reporting. I will fix this in the back end and take a look at your account so you should see an improvement in the next couple of hours. In the future for cloud issues feel free to email support@pangolin.net or message through the platform.
Author
Owner

@mirkohubtv commented on GitHub (Apr 17, 2026):

Thank you!

<!-- gh-comment-id:4270843007 --> @mirkohubtv commented on GitHub (Apr 17, 2026): Thank you!
Author
Owner

@oschwartz10612 commented on GitHub (Apr 17, 2026):

Hey @mirkohubtv I do not see mirkohubtv@mirkohubtv.it in the system. Did you delete that account? Could you message support from the org in the dashboard having the issue?

<!-- gh-comment-id:4271281996 --> @oschwartz10612 commented on GitHub (Apr 17, 2026): Hey @mirkohubtv I do not see mirkohubtv@mirkohubtv.it in the system. Did you delete that account? Could you message support from the org in the dashboard having the issue?
Author
Owner

@mirkohubtv commented on GitHub (Apr 17, 2026):

Yup, I used a different email in my screenshot. I sent you the message from my org

<!-- gh-comment-id:4271333666 --> @mirkohubtv commented on GitHub (Apr 17, 2026): Yup, I used a different email in my screenshot. I sent you the message from my org
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#30085