Skip to content
Snippets Groups Projects
Commit 5cde58be authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

more fixes

parent 62b0cb9f
No related branches found
No related tags found
No related merge requests found
......@@ -18,4 +18,10 @@ public class LoginServlet extends HttpServlet {
if(Server.isInstalled.get()) req.getRequestDispatcher("/login.jsp").forward(req,resp);
else req.getRequestDispatcher("/register.jsp").forward(req,resp);
}
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
//Similar technique as the one for API calls, simply handle this here because this is a different logic.
super.doPost(req, resp);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment