dirname is new user property
This commit is contained in:
parent
bdbbc57d05
commit
c8dc4469cd
@ -124,7 +124,7 @@ public class JsonPillarServlet extends HttpServlet {
|
||||
final String fullUsername = user.getName();
|
||||
final String usernamePostfix = fullUsername.length() > 6 ? fullUsername.substring(6) : "_";
|
||||
writer.println(" \"user\": \"" + fullUsername + "\"");
|
||||
writer.println(" \"dirname\": \"" + usernamePostfix + "\"");
|
||||
writer.println(" , \"dirname\": \"" + usernamePostfix + "\"");
|
||||
writer.println(" , \"uid\": " + user.getUserId());
|
||||
writer.println(" , \"comment\": \"" + user.getComment() + "\"");
|
||||
writer.println(" , \"shell\": \"" + user.getShell() + "\"");
|
||||
|
Loading…
Reference in New Issue
Block a user