From 7b8c22600cb1a028e24b1055258f15ba4485ba81 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 19 Jun 2018 22:18:12 -0700 Subject: [PATCH] fix to getLongId() --- service/src/main/java/com/simplevote/db/Actions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/com/simplevote/db/Actions.java b/service/src/main/java/com/simplevote/db/Actions.java index 5b4d5d8..4e7206a 100755 --- a/service/src/main/java/com/simplevote/db/Actions.java +++ b/service/src/main/java/com/simplevote/db/Actions.java @@ -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();