Merge branch 'staging' into master

pull/17/head
Michael Iacona 2018-11-05 12:13:13 -05:00 committed by GitHub
commit fceb41d806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 6 deletions

View File

@ -2,6 +2,7 @@ module.exports = {
show: function (req, res) { show: function (req, res) {
res.view('pages/temp', { res.view('pages/temp', {
email: req.user.email email: req.user.email
}); });
} }
}; };

View File

@ -37,4 +37,4 @@ module.exports = {
me: function (req, res) { me: function (req, res) {
res.json(req.user); res.json(req.user);
} }
}; };

View File

@ -168,4 +168,4 @@ function PassportHelper () {
this.getPassport = function () { this.getPassport = function () {
return passport; return passport;
}; };
} }

View File

@ -1,5 +1,6 @@
let passportHook = sails.hooks.passport; let passportHook = sails.hooks.passport;
if (!passportHook) { if (!passportHook) {
passportHook = function (sails) { passportHook = function (sails) {
return { return {
@ -12,4 +13,4 @@ if (!passportHook) {
}; };
} }
module.exports = passportHook; module.exports = passportHook;

View File

@ -33,4 +33,4 @@ module.exports = {
} }
}; };

View File

@ -32,7 +32,6 @@
"@babel/polyfill": "^7.0.0", "@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0", "@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0", "@babel/preset-react": "^7.0.0",
"@sailshq/eslint": "^4.19.3",
"babel-loader": "^8.0.4", "babel-loader": "^8.0.4",
"babel-preset-es2015": "^6.24.1", "babel-preset-es2015": "^6.24.1",
"css-loader": "^1.0.1", "css-loader": "^1.0.1",