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` " +
|
||||
"(`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];
|
||||
|
|
Loading…
Reference in New Issue