Don't warn on posting without captcha when "Verification not required."

This commit is contained in:
ccd0 2021-07-08 09:47:45 -07:00
parent c98f3ba8dd
commit 4e37f21f73

View File

@ -60,7 +60,7 @@ Captcha.t =
if @nodes.container
for key in ['t-response', 't-challenge']
response[key] = $("[name='#{key}']", @nodes.container).value
if !response['t-response']
if !response['t-response'] and !((el = $('#t-msg')) and /Verification not required/i.test(el.textContent))
response = null
response