Fixed block field

This commit is contained in:
Whispering Wind
2024-09-02 22:03:12 +03:30
committed by GitHub
parent 413107e322
commit bc5fda94c9

View File

@ -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