Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Meteor.startup(function () {
- AccountsEntry.config({
- logo: 'logo_beta.png', // if set displays logo above sign-in options
- privacyUrl: '/privacy-policy', // if set adds link to privacy policy and 'you agree to ...' on sign-up page
- termsUrl: '/terms-of-use', // if set adds link to terms 'you agree to ...' on sign-up page
- homeRoute: '/', // mandatory - path to redirect to after sign-out
- dashboardRoute: 'dashboard' , // mandatory - path to redirect to after successful sign-in
- profileRoute: 'dashboard',
- passwordSignupFields: 'EMAIL_ONLY',
- showSignupCode: false,
- showOtherLoginServices: true , // Set to false to hide oauth login buttons on the signin/signup pages. Useful if you are using something like accounts-meld or want to oauth for api access
- fluidLayout: false , // Set to true to use bootstrap3 container-fluid and row-fluid classes.
- useContainer: true , // Set to false to use an unstyled "accounts-entry-container" class instead of a bootstrap3 "container" or "container-fluid" class.
- signInAfterRegistration: true, // Set to false to avoid prevent users being automatically signed up upon sign-up e.g. to wait until their email has been verified.
- emailVerificationPendingRoute: '/verification-pending', // The route to which users should be directed after sign-up. Only relevant if signInAfterRegistration is false.
- showSpinner: true , // Show the spinner when the client is talking to the server (spin.js)
- spinnerOptions: { color: "#000", top: "80%" } // options as per [spin.js](http://fgnass.github.io/spin.js/)
- });
- });
- T9n.setLanguage(navigator.language);
- i18n.setLanguage(navigator.language);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement