mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
chore: versioned git urls in comments
future-proofing
This commit is contained in:
parent
9cc4832717
commit
110aab097b
@ -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) => {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user