From e33c6c7860e977c7b2672cf9788ef755ec1fc230 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sat, 25 Jan 2014 16:59:25 -0600 Subject: [PATCH] Fix register --- lib/database/accounts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/database/accounts.js b/lib/database/accounts.js index 5799cfb9..3d4c9c2f 100644 --- a/lib/database/accounts.js +++ b/lib/database/accounts.js @@ -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];