Skip to content

Commit

Permalink
quote admin user to allow names with special characters (#2774)
Browse files Browse the repository at this point in the history
  • Loading branch information
FxKu authored Oct 16, 2024
1 parent 41f5fe1 commit bb73334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/users/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
doBlockStmt = `SET LOCAL synchronous_commit = 'local'; DO $$ BEGIN %s; END;$$;`
passwordTemplate = "ENCRYPTED PASSWORD '%s'"
inRoleTemplate = `IN ROLE %s`
adminTemplate = `ADMIN %s`
adminTemplate = `ADMIN "%s"`
)

// DefaultUserSyncStrategy implements a user sync strategy that merges already existing database users
Expand Down

0 comments on commit bb73334

Please sign in to comment.