reset captcha text on failure
This commit is contained in:
parent
3d6fb57c77
commit
bea6ae303d
|
@ -99,6 +99,7 @@ const Captcha = ({ callback, close }) => {
|
|||
const { errors: resErrors } = await requestSolveCaptcha(text);
|
||||
if (resErrors) {
|
||||
setCaptchaUrl(getUrl());
|
||||
setText('');
|
||||
setErrors(resErrors);
|
||||
} else {
|
||||
close();
|
||||
|
|
Loading…
Reference in New Issue
Block a user