Don't use quoted identifier for the username
This commit is contained in:
parent
d580bb1c27
commit
70a9fc47b4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue