##// END OF EJS Templates
auth: add scope and login restrictions to rhodecode plugin, and scope restriction to token plugin....
auth: add scope and login restrictions to rhodecode plugin, and scope restriction to token plugin. - allows limiting the usage of builtin auth to HTTP only (so force usage of tokens) - allows migration to something like saml keeping only super-admin for login.

File last commit:

r1:854a839a default
r3392:5cc5c872 default
Show More
tuning-hg-auth-loop.rst
17 lines | 482 B | text/x-rst | RstLexer
/ docs / admin / tuning-hg-auth-loop.rst

|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.

[app:main]
auth_ret_code_detection = true