Commit bc48814
committed
fix(sspi): only add password and domain if they are provided
Users on windows may want to use their local account for
authentication, bypassing the need to send a password. In these
cases the password must be null, but we were sending a single
byte, null-terminated string here because of the use of
`std::string`.
NODE-14791 parent 187aab7 commit bc48814
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
0 commit comments