Commit dd9d1975 authored by fangzhipeng's avatar fangzhipeng

.

parent 207e889c
Pipeline #228 canceled with stages
...@@ -172,7 +172,7 @@ public class UserMgmtService { ...@@ -172,7 +172,7 @@ public class UserMgmtService {
} }
final String userName = requestJSONObject.optString(User.USER_NAME); final String userName = requestJSONObject.optString(User.USER_NAME);
if (UserExt.invalidUserName(userName)) { if (StringUtils.isEmpty(userName)) {
throw new ServiceException(langPropsService.get("userNameInvalidLabel")); throw new ServiceException(langPropsService.get("userNameInvalidLabel"));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment