mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Don't use quoted identifier for the username
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user