Fixing style errors.

This commit is contained in:
stickler-ci 2021-05-17 10:06:41 +00:00
parent 547f1dd370
commit a3aba28c95

View File

@ -209,7 +209,7 @@ class Users extends DolibarrApi
{
// check user authorization
if(! DolibarrApiAccess::$user->rights->user->creer && !DolibarrApiAccess::$user->admin) {
throw new RestException(401, "User creation not allowed");
throw new RestException(401, "User creation not allowed");
}
// check mandatory fields
/*if (!isset($request_data["login"]))