syntax error

This commit is contained in:
kehiy 2023-05-15 02:41:02 -07:00
parent 2525899eac
commit e55735569e

View file

@ -30,7 +30,7 @@ exports.verify = function (password, hash) {
*/
function isSHA1(hash) {
return (typeof hash === "string" && hash.startsWith("sha1"));
};
}
/**
* Does the hash need to be rehashed?
@ -38,4 +38,4 @@ function isSHA1(hash) {
*/
exports.needRehash = function (hash) {
return isSHA1(hash);
};
};