add login route
This commit is contained in:
parent
ba1cf0c644
commit
2f474f3aff
1 changed files with 0 additions and 7 deletions
|
@ -1,10 +1,7 @@
|
|||
import { Router } from 'express';
|
||||
import * as SessionController from '../controllers/session.controller';
|
||||
import passport from 'passport';
|
||||
<<<<<<< HEAD
|
||||
|
||||
=======
|
||||
>>>>>>> add react router
|
||||
const router = new Router();
|
||||
|
||||
router.route('/login').get(SessionController.newSession);
|
||||
|
@ -13,8 +10,4 @@ router.route('/login').post(SessionController.createSession);
|
|||
|
||||
router.route('/logout').get(SessionController.destroySession);
|
||||
|
||||
<<<<<<< HEAD
|
||||
//TODO add github authentication stuff
|
||||
=======
|
||||
//TODO add github authentication stuff
|
||||
>>>>>>> add react router
|
||||
|
|
Loading…
Reference in a new issue