Skip to content
Snippets Groups Projects
Commit 15efa7dd authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #882 Store the keypair in antoher file than the conf

parent 6543aa89
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ function Stack(dependencies) {
server.dal.loadConfHook = (conf) => co(function*() {
// Loading injection
for (const callback of configLoadingCallbacks) {
yield callback(conf, program, logger);
yield callback(conf, program, logger, server.dal.confDAL);
}
});
......@@ -202,7 +202,7 @@ function Stack(dependencies) {
server.dal.saveConfHook = (conf) => co(function*() {
const clonedConf = _.clone(conf);
for (const callback of configBeforeSaveCallbacks) {
yield callback(clonedConf, program, logger);
yield callback(clonedConf, program, logger, server.dal.confDAL);
}
return clonedConf;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment