Mercurial Authentication Tuning#

When using external authentication tools such as LDAP with Mercurial, a password retry loop in Mercurial can result in users being locked out due to too many failed password attempts. To prevent this from happening, add the following setting to your config/_shared/rhodecode.ini file, in the [app:main] section.

[app:main]
auth_ret_code_detection = true