Skip to content

Commit 113b3ba

Browse files
committed
Use use username and not user for auth.
1 parent 612c92f commit 113b3ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/authn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async function _isAuthnRequired({config, admin}) {
128128

129129
function _addAuthOptions({options, config}) {
130130
options.connectOptions.auth = {
131-
user: config.username,
131+
username: config.username,
132132
password: config.password
133133
};
134134
// authSource is the database to authenticate against

0 commit comments

Comments
 (0)