Skip to content
Snippets Groups Projects
Commit 5f54a94b authored by Larbi Gharib's avatar Larbi Gharib
Browse files

Account display name

Change-Id: Ib44344d1657fc0539a0f269882f8fae080af40cc
parent 5bd8fb07
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,11 @@ public class DeviceServlet extends HttpServlet {
obj.add("Account.dhtProxyListUrl", obj.get("dhtProxyListUrl"));
obj.remove("dhtProxyListUrl");
}
if (obj.get("displayName") != null) {
obj.add("Account.displayName", obj.get("displayName"));
obj.remove("displayName");
}
resp.getOutputStream().write((obj.toString()).getBytes());
}
else TomcatCustomErrorHandler.sendCustomError(resp,500,"could not enroll a device due to server-side error");
......
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