Don't use quoted identifier for the username

This commit is contained in:
Jeff Mitchell 2016-10-05 14:31:19 -04:00
parent d580bb1c27
commit 70a9fc47b4

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