mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-03-09 23:38:54 +00:00
Initial Commit
This commit is contained in:
commit
c92f737237
273 changed files with 16964 additions and 0 deletions
17
server/auth/index.js
Normal file
17
server/auth/index.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
'use strict';
|
||||
import express from 'express';
|
||||
import config from '../config/environment';
|
||||
import User from '../api/user/user.model';
|
||||
|
||||
// Passport Configuration
|
||||
require('./local/passport').setup(User, config);
|
||||
require('./facebook/passport').setup(User, config);
|
||||
require('./google/passport').setup(User, config);
|
||||
|
||||
var router = express.Router();
|
||||
|
||||
router.use('/local', require('./local').default);
|
||||
router.use('/facebook', require('./facebook').default);
|
||||
router.use('/google', require('./google').default);
|
||||
|
||||
export default router;
|
Loading…
Add table
Add a link
Reference in a new issue