This commit is contained in:
Julian Lam
2014-01-05 18:27:13 -05:00
parent 4923c79496
commit 71681b936f
2 changed files with 3 additions and 2 deletions

3
app.js
View File

@@ -143,7 +143,8 @@
file: __dirname + '/config.json'
});
var install = require('./src/install');
var templates = require('./public/src/templates'),
install = require('./src/install');
winston.info('Welcome to NodeBB!');
winston.info('This looks like a new installation, so you\'ll have to answer a few questions about your environment before we can proceed.');

View File

@@ -103,7 +103,7 @@ var bcrypt = require('bcrypt'),
if (email !== undefined) {
db.setObjectField('email:uid', email, uid);
User.email.verify(uid, email);
if (uid !== 1) User.email.verify(uid, email);
}
plugins.fireHook('action:user.create', {uid: uid, username: username, email: email, picture: gravatar, timestamp: timestamp});