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];