Files
meteor/packages/google/google_configure.js
Emily Stark dd9a51624d Fix login service configuration wizards.
These were broken by the Template.foo.bar -> Template.foo.helpers({ bar:
... }) transformation. `fields` is a property on the template object,
not a helper.
2014-09-26 18:08:09 -07:00

13 lines
308 B
JavaScript

Template.configureLoginServiceDialogForGoogle.helpers({
siteUrl: function () {
return Meteor.absoluteUrl();
}
});
Template.configureLoginServiceDialogForGoogle.fields = function () {
return [
{property: 'clientId', label: 'Client ID'},
{property: 'secret', label: 'Client secret'}
];
};