mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Move sessionStorageModule into main storageModule
Fixes #586 - add get/saveSessions to main storage module - handle storage modules without those functions - store .session file in userDir
This commit is contained in:
@@ -36,9 +36,9 @@ var errorHandler = function(err,req,res,next) {
|
||||
res.send(400,err.toString());
|
||||
};
|
||||
|
||||
function init(adminApp) {
|
||||
function init(adminApp,storage) {
|
||||
|
||||
auth.init(settings);
|
||||
auth.init(settings,storage);
|
||||
|
||||
// Editor
|
||||
if (!settings.disableEditor) {
|
||||
|
||||
Reference in New Issue
Block a user