Revert "On closer examination, the captcha is accepting more or less arbitrary input."

This reverts commit 1681beaab8c0af4504534011ef98401edaa16cec.
This commit is contained in:
ccd0 2014-12-10 14:25:12 -08:00
parent caeb8b9344
commit dafecca7e3

View File

@ -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}