Fix register

This commit is contained in:
calzoneman 2014-01-25 16:59:25 -06:00
parent 63055c51a2
commit e33c6c7860

View file

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