Some small updates coming from IVIS
This commit is contained in:
parent
4943b22a51
commit
e85c707973
14 changed files with 4319 additions and 2975 deletions
|
@ -134,7 +134,8 @@ module.exports.tryAuthByRestrictedAccessToken = (req, res, next) => {
|
|||
});
|
||||
};
|
||||
|
||||
module.exports.setup = app => {
|
||||
|
||||
module.exports.setupRegularAuth = app => {
|
||||
app.use(passport.initialize());
|
||||
app.use(passport.session());
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue