You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Abuse Detection library usage (AbuseDetection::check();)

Accepted answer
33
Views
5
Comments
edited Apr 18, 2018 6:50PM in Customer Portal 5 comments

Content

RightNow\Libraries\AbuseDetection::check();

How can we properly use this library to generate captcha?

Are there any samples code?

We encountered the following on the page where the above library is being called when we use the trigger abuse detection via ci/admin:

==CHALLENGE REQUIRED== {"challengeProvider":"\nvar defaultChallengeOptions={scriptUrl:\"\/\/www.google.com\/recaptcha\/api\/js\/recaptcha_ajax.js\",publicKey:\"SFF23423DFSDQFSQQWERWERQ\",lang:\"en\",custom_translations:{visual_challenge:\"Get a visual challenge\",audio_challenge:\"Get an audio challenge\",refresh_btn:\"Get a new challenge\",instructions_visual:\"Type the two words:\",instructions_audio:\"Type what you hear:\",help_btn:\"Help\",play_again:\"Play sound again\",cant_hear_this:\"Download sound as MP3\",incorrect_try_again:\"Incorrect. Try again.\"},cant_see_image:\"If you can\\'t see the image use the audio option.\"};(function(){var _loadScript=function(url,context,callback){var script=document.createElement(\"script\");script.type=\"text\/javascript\";if(script.readyState){script.onreadystatechange=function(){if(script.readyState===\"complete\"||script.readyState

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!