Commit 2576b02
committed
Set correct auth_mechanism for updateUser
Currently the mongodb command `updateUser` defaults to SCRAM-SHA-256 but you can't update these passwords.
And also show an error when the update goes wrong.1 parent 94cbca3 commit 2576b02
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments