remove captcha response doubling

This commit is contained in:
ccd0 2014-05-23 19:43:19 -07:00
parent b0025e2757
commit db71c7f2d4

View File

@ -87,9 +87,6 @@ QR.captcha =
if Conf['Auto-load captcha'] then @reload() else @destroy()
if response
response = response.trim()
# one-word-captcha:
# If there's only one word, duplicate it.
response = "#{response} #{response}" unless /\s/.test response
{challenge, response}
save: ->