mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
return authentication header, if the login attempt limit is disabled
This commit is contained in:
@@ -87,7 +87,8 @@ public class HgBasicAuthenticationFilter extends BasicAuthenticationFilter
|
||||
HttpServletResponse response)
|
||||
throws IOException
|
||||
{
|
||||
if (HgUtil.isHgClient(request))
|
||||
if (HgUtil.isHgClient(request)
|
||||
&& (configuration.isLoginAttemptLimitEnabled()))
|
||||
{
|
||||
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user