Update user.go

This commit is contained in:
borland authored and GitHub committed 2024-12-22 00:03:00 +08:00
1 parent 57a24bed51
commit ad15c0cb38
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ func SearchUsers(keyword string, group string) ([]*User, error) {
return users, err
}
}
err = nil
query := DB.Unscoped().Omit("password")