I have a form which we wish to rate limit, we've decided to use a captcha and always present it to the user. We don't care if they are a bot, or not, we want them to have to enter a captcha regardless. It doesn't matter if they use the form once, or twenty times, each time they submit they will have to enter a captcha.

To this end I've modified captcha to add '#captcha_always', if it's set to true it will always request a captcha from the user. I've configured this in the specific form I wish to use.

Files: 
CommentFileSizeAuthor
#8 captcha-force_captcha_validation-1912148-4-7.patch1.85 KBLianik
PASSED: [[SimpleTest]]: [MySQL] 755 pass(es). View
#4 always_require_captcha-1912148-4.patch1.79 KBValentine94
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch always_require_captcha-1912148-4.patch. Unable to apply patch. See the log in the details link for more information. View
#1 captcha-always_ask-1912148-0.patch1.82 KBtopham
FAILED: [[SimpleTest]]: [MySQL] Invalid patch format in captcha-always_ask-1912148-0.patch. View

Comments

topham’s picture

StatusFileSize
new1.82 KB
FAILED: [[SimpleTest]]: [MySQL] Invalid patch format in captcha-always_ask-1912148-0.patch. View

Status:Needs review» Needs work

The last submitted patch, captcha-always_ask-1912148-0.patch, failed testing.

webengr’s picture

this would be useful for some situations

Valentine94’s picture

Issue summary:View changes
StatusFileSize
new1.79 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch always_require_captcha-1912148-4.patch. Unable to apply patch. See the log in the details link for more information. View

Re-roll

Valentine94’s picture

Status:Needs work» Needs review

Status:Needs review» Needs work

The last submitted patch, 4: always_require_captcha-1912148-4.patch, failed testing.

Lianik’s picture

Assigned:Unassigned» Lianik
Status:Needs work» Needs review
Issue tags:+dcuacs2015
StatusFileSize
new0 bytes
PASSED: [[SimpleTest]]: [MySQL] 718 pass(es). View
Lianik’s picture

StatusFileSize
new1.85 KB
PASSED: [[SimpleTest]]: [MySQL] 755 pass(es). View

Status:Needs review» Needs work

The last submitted patch, 8: captcha-force_captcha_validation-1912148-4-7.patch, failed testing.

Lianik’s picture

Version:7.x-1.0-beta2» 7.x-1.x-dev

Status:Needs work» Needs review
paravibe’s picture

Patch from #8 looks great.
BTW: patch from #7 is the best patch ever :D

paravibe’s picture

Status:Needs review» Reviewed & tested by the community

  • podarok committed c7125df on 7.x-1.x authored by Lianik
    Issue #1912148 by Lianik, topham, Valentine94: Always Require Captcha
    
podarok’s picture

Status:Reviewed & tested by the community» Fixed

Thanks, #8 merged

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.