Files
3x-ui/internal/web
sdhfsl 959e6fd62b fix(panel): accept 2FA codes from adjacent TOTP windows
CheckUser compared only gotp.Now(), so a code submitted at the end of
its 30s window (or with slight client/server clock drift) failed with
'invalid 2fa code', while the immediate retry in the next window
succeeded. Accept current +/-1 window, the standard TOTP skew
tolerance.

Fixes MHSanaei/3x-ui#6535
2026-09-15 18:28:52 +08:00
..
2026-09-12 10:15:48 +02:00