Summary
The DiscussionTools integration with hCaptcha submits a hCaptcha response token alongside the API request. If this API request fails because an AbuseFilter denies the edit, the next attempt to save the edit will fail because a new hCaptcha token is not generated
Steps to reproduce
- Open the DiscussionTools editor with a user who lacks the skipcaptcha right
- Write a comment which should trigger an AbuseFilter to deny the edit (on testwiki writing the abuse filter will block this will do this)
- Press save changes
- Press save changes again
Acceptance criteria
- The hCaptcha response token is not used in the DiscussionTools handler for more than one request, and so is regenerated for each edit attempt
