mirror of https://github.com/calzoneman/sync.git
Fix register
This commit is contained in:
parent
63055c51a2
commit
e33c6c7860
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue