Update user.go

This commit is contained in:
borland
2024-12-22 00:03:00 +08:00
committed by GitHub
parent f54d0cb3b0
commit a02bc3342f

View File

@@ -107,7 +107,7 @@ func SearchUsers(keyword string, group string) ([]*User, error) {
return users, err
}
}
err = nil
query := DB.Unscoped().Omit("password")