Refresh captcha every 5 minutes
This commit is contained in:
parent
08e6543dc3
commit
90b6244b2f
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class RegistrationForm extends ImmutablePureComponent {
|
||||||
captcha_answer_data: captcha.get('answer_data'),
|
captcha_answer_data: captcha.get('answer_data'),
|
||||||
});
|
});
|
||||||
}).catch(error => console.error(error));
|
}).catch(error => console.error(error));
|
||||||
|
setTimeout(this.fetchCaptcha, 5*60*100); // Captcha invalidates after 5 minutes
|
||||||
}
|
}
|
||||||
|
|
||||||
getCaptchaElem = () => {
|
getCaptchaElem = () => {
|
||||||
|
|
Loading…
Reference in a new issue