Permalink
Browse files

Small Updates

  • Loading branch information...
dstroot committed Mar 2, 2014
1 parent b8524a4 commit 079d8c780dc90e2be8014b80ea8c14bce8ed12f2
Showing with 5 additions and 6 deletions.
  1. +1 −2 .travis.yml
  2. +3 −3 config/passport.js
  3. +1 −1 package.json
View
@@ -4,5 +4,4 @@ services:
- mongodb
node_js:
- - '0.11'
- - '0.10'
+ - '0.10'
View
@@ -197,11 +197,11 @@ exports.isAuthorized = function (req, res, next) {
next();
} else {
// we have to get authorized first
- if ( provider === 'tumblr' || provider === 'foursquare' || provider === 'paypal' ) {
- res.redirect('/auth/' + provider);
- } else {
+ if ( provider === 'facebook' || provider === 'twitter' || provider === 'github' || provider === 'google' ) {
req.flash('info', { msg: 'You must connect ' + utils.capitalize(provider) + ' first!' });
res.redirect('/account');
+ } else {
+ res.redirect('/auth/' + provider);
}
}
};
View
@@ -1,6 +1,6 @@
{
"private": true,
- "version": "0.0.1-61",
+ "version": "0.0.1-62",
"name": "Skeleton",
"company": "Skeleton, Inc.",
"subdomain": "skeleton-app",

0 comments on commit 079d8c7

Please sign in to comment.