mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Feedback from review.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
Accounts.config({
|
||||
requireEmail: false,
|
||||
requireUsername: false,
|
||||
validateEmails: true
|
||||
});
|
||||
@@ -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');
|
||||
@@ -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');
|
||||
@@ -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);
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user