Fix issue where shift-click on Quick Reply submit to bypass warning did not use captcha when posting.
This commit is contained in:
parent
1f2e25b3a2
commit
9f6b8c2f60
@ -684,7 +684,7 @@ QR =
|
||||
if g.BOARD.ID is 'r9k' and !post.com?.match(/[a-z-]/i)
|
||||
err or= 'Original comment required.'
|
||||
|
||||
if QR.captcha.isEnabled and !(/\b_ct=/.test(d.cookie) and threadID) and !err
|
||||
if QR.captcha.isEnabled and !(/\b_ct=/.test(d.cookie) and threadID) and !(err and !force)
|
||||
captcha = QR.captcha.getOne(!!threadID) or Captcha.cache.request(!!threadID)
|
||||
unless captcha
|
||||
err = 'No valid captcha.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user