mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Fix status code (say if the account can't be authorized)
This commit is contained in:
@@ -74,6 +74,7 @@ public class RegisterServlet extends HttpServlet {
|
||||
pm.close();
|
||||
}
|
||||
} else {
|
||||
resp.setStatus(400);
|
||||
resp.getWriter().println(ERROR_STATUS + " (Not authorized)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user