Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authorAlimpo <42714856+Alimpo@users.noreply.github.com>2026-03-17 23:20:24 +0300
committerGitHub <noreply@github.com>2026-03-17 23:20:24 +0300
commit7f7ae0c547dccea93607d21a6283c91165ce52a5 (patch)
treefe5f48bb4fb290e7c42c832d2a4703f618aaca90 /web/html
parent60abeaad66a14e29250f0e0b3f2ee9b45c53cbc2 (diff)
fix: stop overwriting client_traffics.enable with JSON enable in GetClientTrafficByEmail (#3931)
When a client hit traffic/expiry limit, disableInvalidClients sets client_traffics.enable=false and removes the user from Xray. GetClientTrafficByEmail was overwriting that with settings.clients[].enable (admin config), so ResetClientTraffic never saw the client as disabled and did not re-add the user. Clients could not connect until manually disabled/re-enabled. Now the DB runtime enable flag is preserved; reset correctly re-adds the user to Xray.
Diffstat (limited to 'web/html')
0 files changed, 0 insertions, 0 deletions