Spambot does not actually block accounts

Created on 6 March 2024, 10 months ago

Problem/Motivation

When spambot scans accounts on cron and tries to block the account, the account doesn't actually get blocked, even when this message appears in watchdog: "Blocked spam account: @name <@email> (uid @uid)'".

Steps to reproduce

Run cron with a spam account on the site. Observe it is not blocked.

Proposed resolution

I think this is because `$account->save()` is not called after `$account->block()` in spambot_cron().

πŸ› Bug report
Status

Active

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States grasmash

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024