From 2525899eacfc5b7a06943bb746f014d04782242e Mon Sep 17 00:00:00 2001 From: kehiy Date: Mon, 15 May 2023 02:37:32 -0700 Subject: [PATCH] blank line fixed --- server/password-hash.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/password-hash.js b/server/password-hash.js index 16eae938f..fcebb1585 100644 --- a/server/password-hash.js +++ b/server/password-hash.js @@ -1,7 +1,5 @@ const passwordHashOld = require("password-hash"); const bcrypt = require("bcryptjs"); - - const saltRounds = bcrypt.genSaltSync(); /** @@ -25,7 +23,6 @@ exports.verify = function (password, hash) { return match; }; - /** * Is the hash a SHA1 hash * @param {string} hash @@ -41,4 +38,4 @@ function isSHA1(hash) { */ exports.needRehash = function (hash) { return isSHA1(hash); -}; +}; \ No newline at end of file