]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 23 Sep 2022 16:47:04 +0000 (18:47 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 23 Sep 2022 16:47:04 +0000 (18:47 +0200)
- also compare userId entity property

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jusercore/model/user/LoginUser.java

index 865594efc9df0bc0ca5a9751a8fe412bec0b9a9b..581babeac4308acda97c2f3d7f1845b3a69224a3 100644 (file)
@@ -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;