Fix register

This commit is contained in:
calzoneman 2014-01-25 16:59:25 -06:00
parent 63055c51a2
commit e33c6c7860
1 changed files with 2 additions and 2 deletions

View File

@ -133,9 +133,9 @@ module.exports = {
} }
db.query("INSERT INTO `users` " + db.query("INSERT INTO `users` " +
"(`name`, `password`, `global_rank`, `email`, `ip`, `time`)" + "(`name`, `password`, `global_rank`, `email`, `profile`, `ip`, `time`)" +
" VALUES " + " VALUES " +
"(?, ?, ?, ?, ?, ?)", "(?, ?, ?, ?, '', ?, ?)",
[name, hash, 1, email, ip, Date.now()], [name, hash, 1, email, ip, Date.now()],
function (err, res) { function (err, res) {
delete registrationLock[lname]; delete registrationLock[lname];