Advertisement
Guest User

Untitled

a guest
May 5th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Meteor.startup(function () {
  2.   AccountsEntry.config({
  3.     logo: 'logo_beta.png',                  // if set displays logo above sign-in options
  4.     privacyUrl: '/privacy-policy',     // if set adds link to privacy policy and 'you agree to ...' on sign-up page
  5.     termsUrl: '/terms-of-use',         // if set adds link to terms  'you agree to ...' on sign-up page
  6.     homeRoute: '/',                    // mandatory - path to redirect to after sign-out
  7.     dashboardRoute: 'dashboard' ,     // mandatory - path to redirect to after successful sign-in
  8.     profileRoute: 'dashboard',
  9.     passwordSignupFields: 'EMAIL_ONLY',
  10.     showSignupCode: false,
  11.     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
  12.     fluidLayout: false  ,             // Set to true to use bootstrap3 container-fluid and row-fluid classes.
  13.     useContainer: true  ,             // Set to false to use an unstyled "accounts-entry-container" class instead of a bootstrap3 "container" or "container-fluid" class.
  14.     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.
  15.     emailVerificationPendingRoute: '/verification-pending', // The route to which users should be directed after sign-up. Only relevant if signInAfterRegistration is false.
  16.     showSpinner: true  ,              // Show the spinner when the client is talking to the server (spin.js)
  17.     spinnerOptions: { color: "#000", top: "80%" } // options as per [spin.js](http://fgnass.github.io/spin.js/)
  18.   });
  19. });
  20.  
  21. T9n.setLanguage(navigator.language);
  22. i18n.setLanguage(navigator.language);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement