Fellows,
How can I disable Security Code or Captcha by editing configuration files?
My installation is not allowing me to login and I though there are some problems with Security Code settings.
Many Thankx.
NetLinkx!
Fellows,
How can I disable Security Code or Captcha by editing configuration files?
My installation is not allowing me to login and I though there are some problems with Security Code settings.
Many Thankx.
NetLinkx!
Hi,
Need to put MAIN_SECURITY_ENABLECAPTCHA =0 in constant table
Hi ksar,
I looked in the table but didnt find “MAIN_SECURITY_ENABLECAPTCHA”.
Is this due to my installation version which is 10.0.2?
Can I create and set value to “0”?
Any further suggestion?
NetLinkx!
If CAPTCHA is enable you should have in llx_const “MAIN_SECURITY_ENABLECAPTCHA”
Except if your CAPTCHA is manage by an external module.
CAPTCHA Code Length
Description
Number of characters in randomly generated Captcha codes (answers to Captcha challenges).
Default
The default value is random (4-6 characters).
Valid User Setting Values
Valid user Captcha code length setting values are integers larger than 0 and smaller than 16.
Example Code
Legacy .NET application web.config configuration file setting:
<botDetect codeLength=“4”
or
<botDetect codeLength=“3-5”
Captcha / MvcCaptcha / WebFormsCaptcha object instance property:
ExampleCaptcha.CodeLength = 4;
or
ExampleCaptcha.CodeLength = CaptchaRandomization.GetRandomCodeLength(3, 5);
.NET Core application appsettings.json configuration file setting:
{
“BotDetect”: {
“CodeLength”: 6
}
}
.NET Core Captcha Tag page source:
<captcha id=“ExampleCaptcha” code-length=“4”
ASPX page source:
<BotDetect:WebFormsCaptcha runat=“server” ID=“ExampleCaptcha” CodeLength=“4”
–
Lewis