Update user.go

This commit is contained in:
borland
2024-12-22 00:03:00 +08:00
committed by GitHub
parent 57a24bed51
commit ad15c0cb38

View File

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