]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Fri, 23 Jun 2017 22:54:07 +0000 (00:54 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 23 Jun 2017 22:54:07 +0000 (00:54 +0200)
- no need for checking email address here, user-name is enough

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/user/FinancialsUserWebSessionBean.java

index 43349c5d268cdc80cd274cf0b0c7454dbdebfe85..4b20bdfff8c2ebb6db7a30674270d914cc7f7304 100644 (file)
@@ -912,9 +912,6 @@ public class FinancialsUserWebSessionBean extends BaseFinancialsController imple
                if (this.userNameList.contains(user.getUserName())) {
                        // Abort here
                        throw new IllegalArgumentException(MessageFormat.format("User name {0} already added.", user.getUserName())); //NOI18N
-               } else if (this.contactController.isEmailAddressRegistered(user.getUserContact())) {
-                       // Already added
-                       throw new IllegalArgumentException(MessageFormat.format("Email address {0} already added.", user.getUserContact().getContactEmailAddress())); //NOI18N
                }
 
                // Add user name