mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +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) {
|
||||
resp.setStatus(400); // what android app expects. Should fix this
|
||||
resp.setStatus(200);
|
||||
resp.getWriter().println(LOGIN_REQUIRED_STATUS);
|
||||
log.warning("Missing user");
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user