Measure expiry time for pasted captchas from time of paste. #407
Prevents captcha non-acceptance when multiple captchas are demanded.
This commit is contained in:
parent
f59720fc0c
commit
0c3b09c39c
@ -161,7 +161,7 @@ Captcha.v2 =
|
||||
$.forceSync 'captchas'
|
||||
@captchas.push
|
||||
response: token or $('textarea', @nodes.container).value
|
||||
timeout: (if pasted then @setupTime else Date.now()) + @lifetime
|
||||
timeout: Date.now() + @lifetime
|
||||
$.set 'captchas', @captchas
|
||||
@count()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user