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