forked from leftypol/leftypol
Add automatic and manual reloading of captchas
This commit is contained in:
parent
11bab0a9ad
commit
f0b3c0fcb6
4 changed files with 15 additions and 3 deletions
|
@ -56,6 +56,7 @@ $(window).ready(function() {
|
|||
return xhr;
|
||||
},
|
||||
success: function(post_response) {
|
||||
reloadCaptcha(); // For securimage captcha. TODO doesn't always need reloading
|
||||
if (post_response.error) {
|
||||
if (post_response.banned) {
|
||||
// You are banned. Must post the form normally so the user can see the ban message.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue