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

IMAP node should not try to load settings file directly

This commit is contained in:
Nicholas O'Leary 2013-11-13 22:20:36 +00:00
parent 3a52397744
commit 510fab7b8f

View File

@ -20,7 +20,7 @@ var util = require('util');
var oldmail = {};
try {
var emailkey = require("../../settings").email || require("../../../emailkeys.js");
var emailkey = RED.settings.email || require("../../../emailkeys.js");
} catch(err) {
throw new Error("Failed to load Email credentials");
}