mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-23 22:08:11 -05:00
Make sure to actually check CAPTCHAs on submit.
This commit is contained in:
@@ -221,6 +221,9 @@ class ApiController(RedditController):
|
||||
# submission page, and hasn't updated their script
|
||||
return
|
||||
|
||||
if form.has_errors('captcha', errors.BAD_CAPTCHA):
|
||||
return
|
||||
|
||||
if (form.has_errors('sr',
|
||||
errors.SUBREDDIT_NOEXIST,
|
||||
errors.SUBREDDIT_NOTALLOWED,
|
||||
|
||||
Reference in New Issue
Block a user