From 3dd319a35cd0ede6e77308c124f7694c1e18d470 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 23 Sep 2022 18:47:04 +0200 Subject: [PATCH] Continued: - also compare userId entity property MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jusercore/model/user/LoginUser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index 865594e..581babe 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -261,6 +261,8 @@ public class LoginUser implements User { return false; } else if (!Objects.equals(this.getUserProfileMode(), user.getUserProfileMode())) { return false; + } else if (!Objects.equals(this.getUserId(), user.getUserId())) { + return false; } return true; -- 2.39.5