[GH-ISSUE #4713] [Bug]: UUID is regenerated when re-enabling a disabled user #3256

Closed
opened 2026-10-31 20:31:10 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @mohsaja on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4713

Describe the bug

When a user is disabled and later enabled again, the user's UUID is automatically regenerated.

In previous versions, re-enabling a user preserved the existing UUID. With the current behavior, the UUID changes after the user is re-enabled, which causes existing client configurations to stop working and prevents the user from reconnecting without updating their configuration.

Re-enabling a user invalidates all existing client configurations, requiring users to update their settings before they can connect again. This behavior differs from previous versions and may cause service disruptions for existing users.

How to reproduce the problem

Create a user and note the assigned UUID.
Disable the user.
Re-enable the same user.
Check the user's UUID.

Expected behavior

The original UUID should be preserved when a user is re-enabled.

Actual behavior

A new UUID is generated automatically when the user is re-enabled.

Relevant logs


Screenshots

No response

3x-ui version

3.2.0

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu24

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @mohsaja on GitHub (May 31, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4713 ### Describe the bug When a user is disabled and later enabled again, the user's UUID is automatically regenerated. In previous versions, re-enabling a user preserved the existing UUID. With the current behavior, the UUID changes after the user is re-enabled, which causes existing client configurations to stop working and prevents the user from reconnecting without updating their configuration. Re-enabling a user invalidates all existing client configurations, requiring users to update their settings before they can connect again. This behavior differs from previous versions and may cause service disruptions for existing users. ### How to reproduce the problem Create a user and note the assigned UUID. Disable the user. Re-enable the same user. Check the user's UUID. ### Expected behavior The original UUID should be preserved when a user is re-enabled. ### Actual behavior A new UUID is generated automatically when the user is re-enabled. ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.0 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu24 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:31:10 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (May 31, 2026):

Fixed

<!-- gh-comment-id:4586325602 --> @MHSanaei commented on GitHub (May 31, 2026): Fixed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3256
No description provided.