Revert "Old partial attempt at "public mode""
This reverts commit 8f6b030ca8
.
This commit is contained in:
parent
8f6b030ca8
commit
066d72b153
6 changed files with 18 additions and 37 deletions
|
@ -1,5 +1,4 @@
|
|||
const verifyAuth = require('../middlewares/verifyAuth');
|
||||
const public = require('../middlewares/public');
|
||||
const express = require('express');
|
||||
const path = require('path');
|
||||
|
||||
|
@ -17,7 +16,7 @@ module.exports = ({ db, config }) => {
|
|||
next();
|
||||
}
|
||||
},
|
||||
public(),
|
||||
verifyAuth(),
|
||||
(req, res) => {
|
||||
res.redirect('/wishlist');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue