mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
backport of commit 9019203e9f (#23490)
Co-authored-by: Conor McCullough <103977699+conor-mccullough@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b6281e2bad
commit
ced9aaa3aa
@@ -173,7 +173,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