Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function user_check_password(password, hashedPassword) {
// This may be an updated password from user_update_7000(). Such hashes
// have 'U' added as the first character and need an extra md5().
stored_hash = hashedPassword.substr(1);
password = crypto.hash('md5').update(password).digest('hex');
password = crypto.createHash('md5').update(password).digest('hex');
}
else {
stored_hash = hashedPassword;
Expand Down