mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: update bcrypt hash for 3.x
This commit is contained in:
@@ -760,7 +760,7 @@ describe('User', () => {
|
||||
} else if (key !== 'password') {
|
||||
assert.equal(data[key], userData[key]);
|
||||
} else {
|
||||
assert(userData[key].startsWith('$2a$'));
|
||||
assert(userData[key].startsWith('$2b$'));
|
||||
}
|
||||
});
|
||||
// updateProfile only saves valid fields
|
||||
|
||||
Reference in New Issue
Block a user