Account Entry for Flow Router and Blaze Layout

License: MIT

Language: CoffeeScript

This is a account Entry that works with FlowRouter 2.0 and Blaze layout. A fix to use Blaze layout instead of flow layout. .

Getting started


meteor add wecare:accounts-entry-flow-blaze

See the original package for more details on usage and examples. The differences are described here:

Ensuring signed in users for routes

Use the helper function AccountsEntrySignInRequired in an entry trigger for any route that requires users to be signed in. This will redirect the user to the included sign-in page and stop any rendering. Accounts-entry also tracks where the user was trying to go and will route them back after sign in.

Here is a route example:

FlowRouter.route('/dashboard', {
		name: 'dashboard',
		triggersEnter: [
		action: function(params) {

You can also apply this to every route at once (making sure to exclude the logged out route):

FlowRouter.triggers.enter([AccountsEntrySignInRequired], {except: ['loggedOut']});

If you want to change the render you can always use the triggers in FlowRouter:

FlowRouter.triggers.enter([trackRouteEntry], {only: ["entrySignIn"]});

Project Statistics

Sourcerank 3
Repository Size 531 KB
Stars 0
Forks 1
Watchers 1
Open issues 0
Dependencies 62
Contributors 52
Tags 0
Last updated
Last pushed

Top Contributors See all

Josh Owens Ry Walker François-Xavier Thoorens Stefan Undorf Mike Cunneen Ben M Greene Bart dovrosenberg Aleš Vaupotič John Musgrave Colin Flynn Dave Koo Gerard Sychay Pahan Sarathchandra Rishi Goomar Tim Brandin gaborpop Noam Youngerman Bernhard Millauer timtch

Packages Referencing this Repo

Make signin and signout their own pages with routes.
Latest release 1.0.1 - Published

Something wrong with this page? Make a suggestion

Last synced: 2017-07-14 09:56:28 UTC

Login to resync this repository