From bc5fda94c9278c1d694e26a9b2cc79ad5733560d Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Mon, 2 Sep 2024 22:03:12 +0330 Subject: [PATCH] Fixed block field --- core/scripts/hysteria2/reset_user.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/scripts/hysteria2/reset_user.sh b/core/scripts/hysteria2/reset_user.sh index edeee1f..0a26b88 100644 --- a/core/scripts/hysteria2/reset_user.sh +++ b/core/scripts/hysteria2/reset_user.sh @@ -24,7 +24,8 @@ reset_user() { .[$username].upload_bytes = 0 | .[$username].download_bytes = 0 | .[$username].status = "Offline" | - .[$username].account_creation_date = $today + .[$username].account_creation_date = $today | + .[$username].blocked = false ' "$USERS_FILE" > tmp.$$.json && mv tmp.$$.json "$USERS_FILE" if [ $? -ne 0 ]; then