disable ForceSetupWizardFilter if setup complete
@@ -607,7 +607,7 @@ public class SetupWizard extends PageDecorator {
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
// Force root requests to the setup wizard
- if (request instanceof HttpServletRequest) {
+ if (request instanceof HttpServletRequest && !Jenkins.get().getInstallState().isSetupComplete()) {
HttpServletRequest req = (HttpServletRequest) request;
String requestURI = req.getRequestURI();
if (requestURI.equals(req.getContextPath()) && !requestURI.endsWith("/")) {
