Skip to content
Snippets Groups Projects
Commit 5bd88e40 authored by User expired's avatar User expired
Browse files

OPENOLAT-511: disable duplicate email check in the user web service

parent 0290bf75
No related branches found
No related tags found
No related merge requests found
......@@ -837,6 +837,7 @@ public class UserWebService {
String translation = translator.translate(error.getErrorKey(), error.getArgs());
errors.add(new ErrorVO(pack, error.getErrorKey(), translation));
return false;
/**** DISABLED DUPLICATE EMAIL CHECK @UIBK
} else if((userPropertyHandler.getName().equals(UserConstants.INSTITUTIONALEMAIL) || userPropertyHandler.getName().equals(UserConstants.EMAIL))
&& StringHelper.containsNonWhitespace(value)) {
......@@ -848,7 +849,7 @@ public class UserWebService {
Translator translator = new PackageTranslator(pack, locale);
String translation = translator.translate("form.name." + userPropertyHandler.getName() + ".error.exists");
errors.add(new ErrorVO("org.olat.user.propertyhandlers:new.form.name." + userPropertyHandler.getName() + ".exists", translation));
}
}*/
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment