修复严重bug

This commit is contained in:
bjdgyc 2021-06-07 17:03:11 +08:00
parent 2b507206e6
commit 44a7a4659f
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ func SetUser(v *User) error {
// 验证用户登陆信息
func CheckUser(name, pwd, group string) error {
//TODO 严重问题
//return nil
// TODO 严重问题
// return nil
pl := len(pwd)
if name == "" || pl < 6 {