Permalink
Browse files

Spotted bug in the example code; saving a vimeo user

  • Loading branch information...
1 parent dee15f4 commit a8f49619b318bfdfc7020b269ce3cdbdb2cfd65e @LuukvE LuukvE committed Jul 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/server.js
View
@@ -280,7 +280,7 @@ everyauth.vimeo
.consumerSecret(conf.vimeo.consumerSecret)
.findOrCreateUser( function (sess, accessToken, accessSecret, vimeoUser) {
return usersByVimeoId[vimeoUser.id] ||
- (usersByVimeoId[vimeoUser.id] = vimeoUser);
+ (usersByVimeoId[vimeoUser.id] = addUser('vimeo', vimeoUser));
})
.redirectPath('/')

0 comments on commit a8f4961

Please sign in to comment.