3x-ui/web/service
Alimpo 7f7ae0c547
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.
2026-03-17 21:20:24 +01:00
..
config.json dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
inbound.go fix: stop overwriting client_traffics.enable with JSON enable in GetClientTrafficByEmail (#3931) 2026-03-17 21:20:24 +01:00
outbound.go fix security issue 2026-02-09 23:36:10 +01:00
panel.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
server.go v2.8.10 2026-02-11 18:21:43 +01:00
setting.go update dependencies 2026-03-04 13:05:29 +01:00
tgbot.go update dependencies 2026-03-04 13:05:29 +01:00
user.go feat: mask password in telegram notification on 2FA failure (#3884) 2026-03-04 18:26:53 +01:00
warp.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00
xray.go Return nil if no error in GetXrayErr 2026-01-13 17:40:52 +01:00
xray_setting.go docs: add comments for all functions 2025-09-20 09:35:50 +02:00