Revert "On closer examination, the captcha is accepting more or less arbitrary input."
This reverts commit 1681beaab8c0af4504534011ef98401edaa16cec.
This commit is contained in:
parent
caeb8b9344
commit
dafecca7e3
@ -111,9 +111,7 @@ Captcha.v1 =
|
||||
if Conf['Auto-load captcha'] then @reload() else @destroy()
|
||||
# Duplicate one-word captchas.
|
||||
# Don't duplicate street numbers for now (needs testing).
|
||||
if !response
|
||||
response = 'al pacino'
|
||||
else if !/\s|^\d$/.test response
|
||||
if response and !/\s|^\d$/.test response
|
||||
response = "#{response} #{response}"
|
||||
{challenge, response}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user