mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +00:00
commenting: show CAPTCHA to new accounts (#443)
Basically re-use the upload CAPTCHA code to also do this for comments.
This commit is contained in:
@@ -205,6 +205,8 @@ class CommentForm(FlaskForm):
|
||||
DataRequired(message='Comment must not be empty.')
|
||||
])
|
||||
|
||||
recaptcha = RecaptchaField(validators=[upload_recaptcha_validator_shim])
|
||||
|
||||
|
||||
class InlineButtonWidget(object):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user