A meteor package for a Bootstrap 3 Googlesque login, sign up and password reminder form and functionality.
- accounts-password
- accounts-ui
meteor add steeve:single-page-login
- loginTitle: Sets the title on the login page.
- signupTitle: Sets the title on the sign up page.
- forgotPasswordTitle: Sets the title on the retrieve password page.
- canRetrievePassword: Boolean. Turns on/off password retrieval page and functionality.
- passwordSignupFields: Sets the Meteor Accounts.ui.config passwordSignupFields to USERNAME_AND_EMAIL, USERNAME_AND_OPTIONAL_EMAIL, USERNAME_ONLY, EMAIL_ONLY.
- forbidClientAccountCreation: Boolean. Sets the Accounts.config forbidClientAccountCreation fieild.
- routeAfterLogin: Iron Router route after login.
- routeAfterSignUp: Iron Router route after sign up.
- routeAfterLogout: Iron Router route after logout else singlePageLogin is rendered.
- forceLogin: Boolean. Forces single page login except for signup and forgot-password routes.
- exceptRoutes: Array. Add an array of routes that are ignored by foreLogin i.e ['home','about']
SinglePageLogin.config({
loginTitle: 'Single page login',
signupTitle: 'Single page sign up',
forgotPasswordTitle: 'Retrieve password',
canRetrievePassword: true,
passwordSignupFields: 'EMAIL_ONLY',
forbidClientAccountCreation: false,
routeAfterLogin: '/dashboard',
routeAfterSignUp: '/dashboard',
forceLogin: true,
routeAfterLogout: '/',
exceptRoutes: ['home']
});
- /signup
- /login
- /forgot-password
- /logout
Copyright (c) 2013 EtherPOS. Released under an MIT license.