diff --git a/controllers/authController.js b/controllers/authController.js index 66e50ff..448565a 100644 --- a/controllers/authController.js +++ b/controllers/authController.js @@ -21,7 +21,7 @@ const self = { pass: { min: 6, // Should not be more than 72 characters - // https://github.com/kelektiv/node.bcrypt.js#security-issues-and-concerns + // https://github.com/kelektiv/node.bcrypt.js/tree/v5.0.1#security-issues-and-concerns max: 64, // Length of randomized password // when resetting passwordthrough Dashboard's Manage Users. @@ -29,7 +29,7 @@ const self = { } } -// https://github.com/kelektiv/node.bcrypt.js#a-note-on-rounds +// https://github.com/kelektiv/node.bcrypt.js/tree/v5.0.1#a-note-on-rounds const saltRounds = 10 self.verify = async (req, res, next) => { diff --git a/src/js/dashboard.js b/src/js/dashboard.js index b5464f2..d03130a 100644 --- a/src/js/dashboard.js +++ b/src/js/dashboard.js @@ -2924,7 +2924,7 @@ page.deleteUser = id => { }) } -// Roughly based on https://github.com/mayuska/pagination/blob/master/index.js +// Roughly based on https://github.com/mayuska/pagination/blob/03cac0fb8af3a759bc1220bd3c011b67dbc5e909/index.js page.paginate = (totalItems, itemsPerPage, currentPage) => { currentPage = currentPage + 1 const step = 3