mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 01:10:31 +01:00
fixed 2 tests
This commit is contained in:
@@ -130,8 +130,9 @@ var bcrypt = require('bcryptjs'),
|
||||
}
|
||||
|
||||
if (!results.exists) {
|
||||
return callback(new Error('user-deleted'));
|
||||
return callback(new Error('invalid-user'));
|
||||
}
|
||||
|
||||
var lastposttime = results.lastposttime;
|
||||
if (!lastposttime) {
|
||||
lastposttime = 0;
|
||||
|
||||
Reference in New Issue
Block a user