]> git.mxchange.org Git - jjobs-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:49 +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/jjobs/beans/user/JobsUserWebSessionBean.java

index 09b01f3a73a28fd8079fac0258cb021a34618cff..b9afa68c1d4bce2da6805b7814302451d9d704f7 100644 (file)
@@ -912,9 +912,6 @@ public class JobsUserWebSessionBean extends BaseJobsController implements JobsUs
                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