问题
According to the Telescope example (source code), it is possible to display a custom accounts-ui form (see his user_signin.html) and use {{loginButtons}}
(see his nav.html) to keep the other things by default from Accounts-UI package
.
I am looking for 2 hours how this is possible. Any idea how to achieve this?
回答1:
You can configure the Accounts UI with Accounts.ui.config. For example:
Accounts.ui.config({
requestPermissions: {
facebook: ['user_likes'],
github: ['user', 'repo']
},
passwordSignupFields: 'USERNAME_AND_OPTIONAL_EMAIL'
});
来源:https://stackoverflow.com/questions/13663354/how-to-change-the-accounts-ui-template