Fix database typo

This commit is contained in:
calzoneman 2013-08-21 23:05:20 -05:00
parent 22ccde12e7
commit 5f70e9dc80
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ Database.prototype.genPasswordReset = function (ip, name, email, callback) {
query = "INSERT INTO password_reset " +
"(ip, name, hash, email, expire) VALUES (?, ?, ?, ?, ?) " +
"ON DUPLICATE KEY UPDATE hash=?, expire=?";
self.query(query, [ip, name, hash, email, exp, hash, exp],
self.query(query, [ip, name, hash, email, exp, hash, expire],
function (err, res) {
if(err) {
callback(err, null);