From 00a128295e3ab6eeeeace2af585efca3d624ccbc Mon Sep 17 00:00:00 2001 From: Aaron Covrig Date: Mon, 22 Apr 2019 09:37:34 -0400 Subject: [PATCH] Fixing persistence of passwords Adding fix suggested by: @solvisit in issue: https://github.com/SenseTecnic/node-red-contrib-users/issues/1 This closes https://github.com/SenseTecnic/node-red-contrib-users/issues/1 --- nodes/users_config.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/users_config.html b/nodes/users_config.html index 18a4902..2bde1ce 100644 --- a/nodes/users_config.html +++ b/nodes/users_config.html @@ -308,7 +308,7 @@ // users config found globalUserConfigNode = bases[0]; - $.getJSON('/credentials/users_config/'+globalUserConfigNode.id, function (data) { + $.getJSON('credentials/users_config/'+globalUserConfigNode.id, function (data) { globalUserConfigNode.credentials = {}; globalUserConfigNode.credentials.nodeUsers = data.nodeUsers || []; globalUserConfigNode.credentials.jwtSecret = data.jwtSecret;