mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +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{
|
stmt, err := tx.Prepare(Query(query, map[string]string{
|
||||||
"name": pq.QuoteIdentifier(username),
|
"name": username,
|
||||||
}))
|
}))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user