node authentication

This commit is contained in:
azivner
2017-10-15 16:32:49 -04:00
parent cc3a621324
commit 649dc0fbbb
18 changed files with 126 additions and 26 deletions

9
node/routes/migration.js Normal file
View File

@@ -0,0 +1,9 @@
const express = require('express');
const router = express.Router();
const auth = require('../auth');
router.get('', auth.checkAuth, (req, res, next) => {
res.render('migration', {});
});
module.exports = router;