add missing passport methods

pull/13/head
unknown 2018-10-31 21:42:51 -04:00
parent 8cec0ca353
commit aaa82be11b
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
const http = require('http')
const methods = ['login', 'logout', 'isAuthenticated', 'isUnauthenticated']
const methods = ['login', 'logIn', 'logout', 'logOut', 'isAuthenticated', 'isUnauthenticated']
module.exports = async function (req, res, next) {
const passport = (await sails.helpers.passport()).getPassport()