Merge remote-tracking branch 'origin/master'

pull/2/head
Sahat Yalkabov 2014-05-06 01:56:50 -04:00
commit de9267c00b
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ passport.use(new InstagramStrategy(secrets.instagram,function(req, accessToken,
// Similar to Twitter API, assigns a temporary e-mail address
// to get on with the registration process. It can be changed later
// to a valid e-mail address in Profile Management.
profile.username + "@instagram.com";
user.email = profile.username + "@instagram.com";
user.profile.website = profile._json.data.website;
user.profile.picture = profile._json.data.profile_picture;
user.save(function(err) {

View File

@ -949,7 +949,7 @@ inquirer.prompt({
// Similar to Twitter API, assigns a temporary e-mail address
// to get on with the registration process. It can be changed later
// to a valid e-mail address in Profile Management.
profile.username + "@instagram.com";
user.email = profile.username + "@instagram.com";
user.profile.website = profile._json.data.website;
user.profile.picture = profile._json.data.profile_picture;
user.save(function(err) {