Fix for ALF-8127 - Inconsistence between Create and Edit user page

- Last name no longer mandatory in Create User and associated pages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2011-09-14 09:47:10 +00:00
parent 7bce5ce35d
commit a58a85a9c9

View File

@@ -16,12 +16,6 @@ function main()
return;
}
if ((json.isNull("lastName")) || (json.get("lastName").length() == 0))
{
status.setCode(status.STATUS_BAD_REQUEST, "Last name missing when creating person");
return;
}
if ((json.isNull("email")) || (json.get("email").length() == 0))
{
status.setCode(status.STATUS_BAD_REQUEST, "Email missing when creating person");