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

Fix up merge of auth token handling

This commit is contained in:
Nick O'Leary 2018-10-22 16:21:02 +01:00
parent bb8e491856
commit dabb2790c9
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -41,7 +41,7 @@ function init(_settings,storage) {
if (settings.adminAuth) { if (settings.adminAuth) {
var mergedAdminAuth = Object.assign({}, settings.adminAuth, settings.adminAuth.module); var mergedAdminAuth = Object.assign({}, settings.adminAuth, settings.adminAuth.module);
Users.init(mergedAdminAuth); Users.init(mergedAdminAuth);
Tokens.init(mergedAdminAuth,runtime.storage); Tokens.init(mergedAdminAuth,storage);
} }
} }