diff --git a/config/env/development.js b/config/env/development.js index 0e2e2871dc..dc5837249b 100644 --- a/config/env/development.js +++ b/config/env/development.js @@ -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' } }; \ No newline at end of file diff --git a/package.json b/package.json index 526950714c..2261bfaa38 100755 --- a/package.json +++ b/package.json @@ -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": { @@ -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" }, diff --git a/public/modules/users/controllers/settings.js b/public/modules/users/controllers/settings.js index c030e18cb9..02fd1fdd51 100644 --- a/public/modules/users/controllers/settings.js +++ b/public/modules/users/controllers/settings.js @@ -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; @@ -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); @@ -49,6 +51,7 @@ angular.module('users').controller('SettingsController', ['$scope', '$http', '$l }); }; + // Change user password $scope.changeUserPassword = function() { $scope.success = $scope.error = null;