mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #2778] Client status storage #1840
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#1840
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 @sharif221 on GitHub (Mar 15, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2778
I faced something strange
the panel remember that clients that are disabled by Admin.
but in database all of that clients marked as enabled or
"enable": trueHow the client state stored?
It's all functioning right, but isn't it better to also modify the database?
I can fix that in pull request, but I need to ask first
@sharif221 commented on GitHub (Mar 21, 2025):
It's fully functional but when some wrapper tries to read state on database it get it wrong.
Also on database transfer to another panel all user disabled clients will re enable, this is in fact a bug.@sharif221 commented on GitHub (Mar 21, 2025):
Ok, I'm wrong the client state stored in:
inbound-->settingsThis is a JSON stored as text.
For the client state, we need to look to the:
"settings"-->"clients"-->"enable"