Handle captcha errors with a new captcha!
This commit is contained in:
parent
2ba7ae5d28
commit
df78c2e1f8
@ -6123,6 +6123,7 @@
|
|||||||
}
|
}
|
||||||
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
|
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
|
||||||
QR.captcha.nodes.input.focus();
|
QR.captcha.nodes.input.focus();
|
||||||
|
QR.captcha.setup();
|
||||||
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
|
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
|
||||||
QR.notify(el);
|
QR.notify(el);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -6178,6 +6178,7 @@
|
|||||||
}
|
}
|
||||||
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
|
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
|
||||||
QR.captcha.nodes.input.focus();
|
QR.captcha.nodes.input.focus();
|
||||||
|
QR.captcha.setup();
|
||||||
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
|
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
|
||||||
QR.notify(el);
|
QR.notify(el);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -144,6 +144,7 @@ QR =
|
|||||||
if QR.captcha.isEnabled and /captcha|verification/i.test el.textContent
|
if QR.captcha.isEnabled and /captcha|verification/i.test el.textContent
|
||||||
# Focus the captcha input on captcha error.
|
# Focus the captcha input on captcha error.
|
||||||
QR.captcha.nodes.input.focus()
|
QR.captcha.nodes.input.focus()
|
||||||
|
QR.captcha.setup()
|
||||||
if Conf['Captcha Warning Notifications'] and !d.hidden
|
if Conf['Captcha Warning Notifications'] and !d.hidden
|
||||||
QR.notify el
|
QR.notify el
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user