ignore package-lock

This commit is contained in:
Sergey Yarkov 2019-12-06 00:45:20 +03:00
parent 017f733ebc
commit 1d2ac7e4c6

View File

@ -37,7 +37,7 @@ module.exports = function (server, db) {
failureRedirect: '/admin', failureRedirect: '/admin',
failureFlash: true failureFlash: true
})) }))
// Регистрация админа через форму POST // Регистрация админа через форму POST
// server.post('/register', checkNotAuthenticated, async (req, res) => { // server.post('/register', checkNotAuthenticated, async (req, res) => {
// try { // try {
// const hashedPassword = await bcrypt.hash(req.body.password, 10); // const hashedPassword = await bcrypt.hash(req.body.password, 10);