viewmodel
Advanced tools
Comparing version 1.5.4 to 1.5.5
@@ -81,3 +81,6 @@ 'use strict'; | ||
if (options.username) { | ||
if (options.authSource && options.username) { | ||
// Authenticate with authSource | ||
client.authenticate(options.username, options.password, {authSource: options.authSource}, finish); | ||
} else if (options.username) { | ||
client.authenticate(options.username, options.password, finish); | ||
@@ -84,0 +87,0 @@ } else { |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -37,2 +37,5 @@ # Introduction | ||
timeout: 10000 // optional | ||
// authSource: 'authedicationDatabase', // optional | ||
// username: 'technicalDbUser', // optional | ||
// password: 'secret' // optional | ||
}, | ||
@@ -39,0 +42,0 @@ function(err, repository) { |
@@ -0,1 +1,4 @@ | ||
## [v1.5.5](https://github.com/adrai/node-viewmodel/compare/v1.5.4...v1.5.5) | ||
- give possibility to use mongodb with authSource | ||
## [v1.5.4](https://github.com/adrai/node-viewmodel/compare/v1.5.3...v1.5.4) | ||
@@ -2,0 +5,0 @@ - updated dep |
102423
2784
271