Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Adding Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Apr 15, 2014
1 parent 279eb39 commit 7ae98d5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
18 changes: 9 additions & 9 deletions config/env/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ module.exports = {
title: 'MEAN.JS - Development Environment'
},
facebook: {
clientID: '588647347851720',
clientSecret: 'd2870185a0b41ab0ec32ac9d023be5b0',
callbackURL: 'http://local.meanjs.herokuapp.com:3000/auth/facebook/callback'
clientID: 'APP_ID',
clientSecret: 'APP_SECRET',
callbackURL: 'http://localhost:3000/auth/facebook/callback'
},
twitter: {
clientID: 'f9JcCc0xSzEUkwF5E5ZKLQ',
clientSecret: 'E9zzKZhZlZuy5T1qMsu3c75EkGf9yVwp0uAIOwtI0oM',
clientID: 'CONSUMER_KEY',
clientSecret: 'CONSUMER_SECRET',
callbackURL: 'http://localhost:3000/auth/twitter/callback'
},
google: {
clientID: '751147574067-kt9q7nnkvns3b8cg742nsddk9d77k0bt.apps.googleusercontent.com',
clientSecret: '-7acCDhnsbf22HoHB_8CkAHi',
clientID: 'APP_ID',
clientSecret: 'APP_SECRET',
callbackURL: 'http://localhost:3000/auth/google/callback'
},
linkedin: {
clientID: '77f1ywm1byjwpm',
clientSecret: 'K6D9cufcuNIjcqUr',
clientID: 'APP_ID',
clientSecret: 'APP_SECRET',
callbackURL: 'http://localhost:3000/auth/linkedin/callback'
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "meanjs",
"description": "Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js.",
"version": "0.2.2",
"version": "0.2.3",
"private": false,
"author": "https://github.com/meanjs/mean/graphs/contributors",
"repository": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"passport-linkedin": "~0.1.3",
"passport-google-oauth": "~0.1.5",
"lodash": "~2.4.1",
"forever": "~0.10.11",
"forever": "~0.11.00",
"bower": "~1.3.1",
"grunt-cli": "~0.1.13"
},
Expand Down
3 changes: 3 additions & 0 deletions public/modules/users/controllers/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ angular.module('users').controller('SettingsController', ['$scope', '$http', '$l
return $scope.user.provider === provider || ($scope.user.additionalProvidersData && $scope.user.additionalProvidersData[provider]);
};

// Remove a user social account
$scope.removeUserSocialAccount = function(provider) {
$scope.success = $scope.error = null;

Expand All @@ -37,6 +38,7 @@ angular.module('users').controller('SettingsController', ['$scope', '$http', '$l
});
};

// Update a user profile
$scope.updateUserProfile = function() {
$scope.success = $scope.error = null;
var user = new Users($scope.user);
Expand All @@ -49,6 +51,7 @@ angular.module('users').controller('SettingsController', ['$scope', '$http', '$l
});
};

// Change user password
$scope.changeUserPassword = function() {
$scope.success = $scope.error = null;

Expand Down

0 comments on commit 7ae98d5

Please sign in to comment.