You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (captcha passed)
redirect back to original page
else
response.end('Captch verification failed!') //plain text
return true;
Improved behavior (pseudocode):
if (captcha passed)
redirect back to original page
else
var thereWasAProblemHtml = Assets.getText('googleFailed.html')
response.write(thereWasAProblemHtml) //html
setTimeoutForBlockIpForMilliSeconds
redirect back to original page
res.end()
return true;
This way, the user is not shown plain text when google messes up, and instead Sikka has a fallback (redirect in blockIpFor milliseconds). Currently, Sikka will end the response with plain text, forcing the user to manually try again.
The text was updated successfully, but these errors were encountered:
Current behavior (pseudocode):
Improved behavior (pseudocode):
This way, the user is not shown plain text when google messes up, and instead Sikka has a fallback (redirect in
blockIpFor
milliseconds). Currently, Sikka will end the response with plain text, forcing the user to manually try again.The text was updated successfully, but these errors were encountered: