Skip to content
Snippets Groups Projects
Commit 030eab41 authored by William Enright's avatar William Enright Committed by Larbi Gharib
Browse files

Removed returning hashed password and salt when looking up jami users

Change-Id: Ic23bc25b1266d2866d492333ff3d268491c6982a
parent 02b8c674
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,8 @@ public class UserServlet extends HttpServlet {
dataStore.getUserDao().updateObject(update, constraint);
user = dataStore.getUserDao().getObjects(statementList).get(0);
}
user.setPassword("");
user.setSalt("");
resp.getOutputStream().write(JsonStream.serialize(user).getBytes());
resp.setStatus(200);
} else {
......
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