1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix the property "users" access error in runtime.start test caces (#1511)

This commit is contained in:
Hideki Nakamura 2017-12-06 22:20:22 +09:00 committed by Nick O'Leary
parent 1dd4323613
commit 3ca0e9c420

View File

@ -55,7 +55,12 @@ var persistentSettings = {
storage = _storage;
return storage.getSettings().then(function(_settings) {
globalSettings = _settings;
if (globalSettings) {
userSettings = globalSettings.users || {};
}
else {
userSettings = {};
}
});
},
get: function(prop) {