mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
improve error handling for failed authentication and not enough privileges
This commit is contained in:
@@ -75,7 +75,7 @@ public class HgServletModule extends ServletModule
|
||||
serve(MAPPING_HOOK).with(HgHookCallbackServlet.class);
|
||||
|
||||
// register hg cgi servlet
|
||||
filter(MAPPING_HG).through(BasicAuthenticationFilter.class);
|
||||
filter(MAPPING_HG).through(HgBasicAuthenticationFilter.class);
|
||||
filter(MAPPING_HG).through(HgPermissionFilter.class);
|
||||
serve(MAPPING_HG).with(HgCGIServlet.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user