mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 18:29:11 +03:00
ignore package-lock
This commit is contained in:
parent
017f733ebc
commit
1d2ac7e4c6
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user