mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 12:07:54 +00:00
backport of commit 9019203e9f (#23492)
Co-authored-by: Conor McCullough <103977699+conor-mccullough@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c9f0387ecd
commit
1e137ae6f4
@@ -176,7 +176,7 @@ func (m *MongoDB) changeUserPassword(ctx context.Context, username, password str
|
||||
}
|
||||
|
||||
database := cs.Database
|
||||
if username == m.Username || database == "" {
|
||||
if database == "" {
|
||||
database = "admin"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user