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

Fix loading of userSettings

Closes #1505
This commit is contained in:
Nick O'Leary 2017-12-05 16:23:55 +00:00
parent 6d633b372a
commit 3f6b1f6ccb
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -175,7 +175,7 @@ var persistentSettings = {
assert.deepEqual(current,settings);
return when.resolve();
} catch(err) {
globalSettings.user = userSettings;
globalSettings.users = userSettings;
return storage.saveSettings(globalSettings);
}
}