Fringg
1b6bbc7131
fix: protect active paid subscriptions from being disabled in RemnaWave
...
Add is_active_paid_subscription() helper that checks if subscription is
non-trial, active, and not expired. Use it across all disable_remnawave_user
call sites to prevent disabling VPN access for users with paid subscriptions.
Protected paths: block_user, delete_user_account, broadcast cleanup,
channel unsubscribe, admin deactivation, webapi endpoints, cabinet
reset-trial, reset-subscription, and disable-user endpoints.
2026-02-23 16:49:31 +03:00
..
2026-02-18 06:47:02 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 18:37:25 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-01-24 17:45:27 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 18:37:25 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-18 09:12:01 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-23 16:49:31 +03:00
2026-01-24 17:45:27 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 18:37:25 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-18 23:59:29 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00