Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
fix to getLongId()
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Jun 20, 2018
1 parent 1fcc900 commit 7b8c226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/main/java/com/simplevote/db/Actions.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static User signup(Long loggedInUserId, String userName, String password,
user.set("password_encrypted", encryptedPassword, "email", email).saveIt();
return createUserObj(user, true);

} else if (loggedInUserId == uv.getId()) {
} else if (loggedInUserId == uv.getLongId()) {

String encryptedPassword = Tools.PASS_ENCRYPT.encryptPassword(password);
uv.set("password_encrypted", encryptedPassword, "email", email).saveIt();
Expand Down

0 comments on commit 7b8c226

Please sign in to comment.