mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-25 21:15:55 +00:00
syntax error
This commit is contained in:
parent
2525899eac
commit
e55735569e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue