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:
parent
bb8e491856
commit
dabb2790c9
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user