Don't require captcha if cookie present indicating captcha not needed yet. #1767
This commit is contained in:
parent
dc98107cda
commit
e21655f463
@ -664,7 +664,7 @@ QR =
|
|||||||
if g.BOARD.ID is 'r9k' and !post.com?.match(/[a-z-]/i)
|
if g.BOARD.ID is 'r9k' and !post.com?.match(/[a-z-]/i)
|
||||||
err or= 'Original comment required.'
|
err or= 'Original comment required.'
|
||||||
|
|
||||||
if QR.captcha.isEnabled and !err
|
if QR.captcha.isEnabled and !/\b_ct=/.test(d.cookie) and !err
|
||||||
captcha = QR.captcha.getOne(!!threadID)
|
captcha = QR.captcha.getOne(!!threadID)
|
||||||
unless captcha
|
unless captcha
|
||||||
err = 'No valid captcha.'
|
err = 'No valid captcha.'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user