mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 05:25:56 +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) {
|
function isSHA1(hash) {
|
||||||
return (typeof hash === "string" && hash.startsWith("sha1"));
|
return (typeof hash === "string" && hash.startsWith("sha1"));
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Does the hash need to be rehashed?
|
* Does the hash need to be rehashed?
|
||||||
|
@ -38,4 +38,4 @@ function isSHA1(hash) {
|
||||||
*/
|
*/
|
||||||
exports.needRehash = function (hash) {
|
exports.needRehash = function (hash) {
|
||||||
return isSHA1(hash);
|
return isSHA1(hash);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue