This commit is contained in:
Deepak Bansal 2018-08-20 11:17:35 +00:00 committed by GitHub
commit 40ff073d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ async function getClientForOrg (userorg, username) {
var getRegisteredUser = async function(username, userOrg, isJson) {
try {
var client = await getClientForOrg(userOrg);
var client = await getClientForOrg(userOrg, username);
logger.debug('Successfully initialized the credential stores');
// client can now act as an agent for organization Org1
// first check to see if the user is already enrolled