settings reset message

v1.18.x
psychobunny 11 years ago
parent 1e96c21cae
commit ba1e04741b

@ -233,6 +233,7 @@ function reset() {
function resetSettings(callback) { function resetSettings(callback) {
var meta = require('./src/meta'); var meta = require('./src/meta');
meta.configs.set('allowLocalLogin', 1, function(err) { meta.configs.set('allowLocalLogin', 1, function(err) {
winston.info('[reset] Settings reset to default');
if (typeof callback === 'function') { if (typeof callback === 'function') {
callback(err); callback(err);
} else { } else {

Loading…
Cancel
Save