提交 4cdfd0e1 编写于 作者: T tangfangzhi

conflict

上级 8f464bd2
......@@ -620,7 +620,7 @@ static int32_t mndProcessCreateUserReq(SRpcMsg *pReq) {
goto _OVER;
}
if (createReq.user[0] == 0) {
if (createReq.user[0] == 0 || strlen(createReq.pass) >= TSDB_PASSWORD_LEN) {
terrno = TSDB_CODE_MND_INVALID_USER_FORMAT;
goto _OVER;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册