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 /home/user/.rccontrol/instance-id/rhodecode.ini file, in the [app:main] section.

[app:main]
auth_ret_code_detection = true