##// END OF EJS Templates
auth: the correct prefixes for python bcrypt are $2a or $2b....
auth: the correct prefixes for python bcrypt are $2a or $2b. handle the 2b too for consistency.

File last commit:

r1:854a839a default
r1626:a402cae5 default
Show More
tuning-hg-auth-loop.rst
17 lines | 482 B | text/x-rst | RstLexer
/ docs / admin / tuning-hg-auth-loop.rst
project: added all source files and assets
r1 .. _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
:file:`/home/{user}/.rccontrol/{instance-id}/rhodecode.ini` file, in the
``[app:main]`` section.
.. code-block:: ini
[app:main]
auth_ret_code_detection = true