Take captcha cookie into account when determining whether to reload captcha. #1767
This commit is contained in:
parent
e21655f463
commit
095840a80a
@ -14,7 +14,7 @@ Captcha.cache =
|
||||
|
||||
needed: ->
|
||||
captchaCount = @captchas.length
|
||||
captchaCount++ if QR.req
|
||||
captchaCount++ if QR.req or /\b_ct=/.test(d.cookie)
|
||||
postsCount = QR.posts.length
|
||||
postsCount = 0 if postsCount is 1 and !Conf['Auto-load captcha'] and !QR.posts[0].com and !QR.posts[0].file
|
||||
captchaCount < postsCount
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user