Don't use quoted identifier for the username

This commit is contained in:
Jeff Mitchell
2016-10-05 14:31:19 -04:00
parent f911375ca4
commit d7615b0477

View File

@@ -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