Skip to content

Commit

Permalink
LUI-151: LogoutServlet not added through code anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherrif10 committed Jul 8, 2020
1 parent 41e2769 commit df54970
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions omod/src/main/java/org/openmrs/web/WebComponentRegistrar.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public void setServletContext(ServletContext servletContext) {

addMappings(servletContext.getServletRegistration("jsp"), "*.withjstl");

ServletRegistration servletReg = servletContext.addServlet("logoutServlet", new LogoutServlet());
servletReg.addMapping("/logout");

Dynamic filter = servletContext.addFilter("forcePasswordChangeFilter", new ForcePasswordChangeFilter());
filter.setInitParameter("changePasswordForm", "/admin/users/changePassword.form");
filter.setInitParameter("excludeURL", "changePasswordForm,logout,.js,.css,.gif,.jpg,.jpeg,.png");
Expand Down

0 comments on commit df54970

Please sign in to comment.