Update user.go

This commit is contained in:
bjdgyc 2021-08-22 19:36:30 +08:00 committed by GitHub
parent 246efe430d
commit 44adbe71ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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