mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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') {
|
} else if (key !== 'password') {
|
||||||
assert.equal(data[key], userData[key]);
|
assert.equal(data[key], userData[key]);
|
||||||
} else {
|
} else {
|
||||||
assert(userData[key].startsWith('$2a$'));
|
assert(userData[key].startsWith('$2b$'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// updateProfile only saves valid fields
|
// updateProfile only saves valid fields
|
||||||
|
|||||||
Reference in New Issue
Block a user