remove captcha response doubling
This commit is contained in:
parent
b0025e2757
commit
db71c7f2d4
@ -87,9 +87,6 @@ QR.captcha =
|
|||||||
if Conf['Auto-load captcha'] then @reload() else @destroy()
|
if Conf['Auto-load captcha'] then @reload() else @destroy()
|
||||||
if response
|
if response
|
||||||
response = response.trim()
|
response = response.trim()
|
||||||
# one-word-captcha:
|
|
||||||
# If there's only one word, duplicate it.
|
|
||||||
response = "#{response} #{response}" unless /\s/.test response
|
|
||||||
{challenge, response}
|
{challenge, response}
|
||||||
|
|
||||||
save: ->
|
save: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user