tuning-hg-auth-loop.rst
17 lines
| 459 B
| text/x-rst
|
RstLexer
r3693 | .. _hg-auth-loop: | |||
|hg| Authentication Tuning | ||||
-------------------------- | ||||
When using external authentication tools such as LDAP with |hg|, a | ||||
password retry loop in |hg| 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 | ||||
r5354 | :file:`config/_shared/rhodecode.ini` file, in the | |||
r3693 | ``[app:main]`` section. | |||
.. code-block:: ini | ||||
[app:main] | ||||
auth_ret_code_detection = true | ||||