mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-27 04:03:16 +00:00
LoginRequired need status 200 for backward compat.
This commit is contained in:
@@ -124,7 +124,7 @@ public class RequestInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ri.userName == null) {
|
if (ri.userName == null) {
|
||||||
resp.setStatus(400); // what android app expects. Should fix this
|
resp.setStatus(200);
|
||||||
resp.getWriter().println(LOGIN_REQUIRED_STATUS);
|
resp.getWriter().println(LOGIN_REQUIRED_STATUS);
|
||||||
log.warning("Missing user");
|
log.warning("Missing user");
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user