]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Tue, 18 Oct 2022 13:55:38 +0000 (15:55 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 18 Oct 2022 13:55:38 +0000 (15:55 +0200)
- removed duplicate check for userName property

src/org/mxchange/jusercore/model/user/LoginUser.java

index 7625e9e7e7a625d05608a2a9eb8bbe33dd4a60b8..7d5cd26f431f6a7605f01d7ebbb2562be14ecc49 100644 (file)
@@ -262,8 +262,6 @@ public class LoginUser implements User {
                        return false;
                } else if (!Objects.equals(this.getUserMustChangePassword(), user.getUserMustChangePassword())) {
                        return false;
-               } else if (!Objects.equals(this.getUserName(), user.getUserName())) {
-                       return false;
                } else if (!Objects.equals(this.getUserProfileMode(), user.getUserProfileMode())) {
                        return false;
                } else if (!Objects.equals(this.getUserContact(), user.getUserContact())) {