Skip to content

Commit

Permalink
Don't use quoted identifier for the username
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Oct 5, 2016
1 parent f911375 commit d7615b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/logical/postgresql/secret_creds.go
Expand Up @@ -249,7 +249,7 @@ func (b *backend) secretCredsRevoke(
}

stmt, err := tx.Prepare(Query(query, map[string]string{
"name": pq.QuoteIdentifier(username),
"name": username,
}))
if err != nil {
return nil, err
Expand Down

0 comments on commit d7615b0

Please sign in to comment.