Feedback from review.

This commit is contained in:
Nick Martin
2012-10-02 22:15:54 -07:00
parent ccb79ff0d9
commit 12934c96a9
6 changed files with 1 additions and 26 deletions

View File

@@ -1,5 +0,0 @@
Accounts.config({
requireEmail: false,
requireUsername: false,
validateEmails: true
});

View File

@@ -1,5 +0,0 @@
// Modify and uncomment the following lines to configure login services.
// Also see accounts/services.js
// Accounts.facebook.setSecret('SECRET');
// Accounts.google.setSecret('SECRET');

View File

@@ -1,5 +0,0 @@
// Modify and uncomment the following lines to configure login services.
// Also see accounts/server/secrets.js
// Accounts.facebook.config('218833638237574', 'http://auth-todos.meteor.com');
// Accounts.google.config('987846107089.apps.googleusercontent.com', 'http://auth-todos.meteor.com');

View File

@@ -1,9 +1,5 @@
(function () {
Accounts.google.setSecret = function (secret) {
Accounts.google._secret = secret;
};
Accounts.oauth.registerService('google', 2, function(query) {
var accessToken = getAccessToken(query);

View File

@@ -13,7 +13,7 @@
var JUST_VALIDATED_USER_KEY = 'Meteor.loginButtons.justValidatedUser';
var CONFIGURE_LOGIN_SERVICES_DIALOG_VISIBLE = 'Meteor.loginButtons.configureLoginServicesDialogVisible';
var CONFIGURE_LOGIN_SERVICES_DIALOG_SERVICE_NAME = "Meteor.loginButtons.configureLoginServicesDialogServiceName";
var CONFIGURE_LOGIN_SERVICES_DIALOG_SAVE_ENABLED = "Accounts.facebook.saveEnabled";
var CONFIGURE_LOGIN_SERVICES_DIALOG_SAVE_ENABLED = "Meteor.loginButtons.saveEnabled";
var resetSession = function () {

View File

@@ -1,9 +1,3 @@
if (!Accounts.weibo) {
Accounts.weibo = {};
Accounts.weibo._requireConfigs = ['_clientId', '_appUrl'];
}
Accounts.weibo.config = function(clientId, appUrl) {
Accounts.weibo._clientId = clientId;
Accounts.weibo._appUrl = appUrl;
};