mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4713] [Bug]: UUID is regenerated when re-enabling a disabled user #3256
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3256
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@MHSanaei commented on GitHub (May 31, 2026):
Fixed