mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -16,12 +16,6 @@ function main()
|
|||||||
return;
|
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))
|
if ((json.isNull("email")) || (json.get("email").length() == 0))
|
||||||
{
|
{
|
||||||
status.setCode(status.STATUS_BAD_REQUEST, "Email missing when creating person");
|
status.setCode(status.STATUS_BAD_REQUEST, "Email missing when creating person");
|
||||||
|
Reference in New Issue
Block a user