-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AccountsTemplates.ensureSignedIn undefiend #38
Comments
Try this after adding packages as described in docs. I put the below code blocks in my router.js file that is imported by imports/startup/client/index.js as described in guide.meteor.com application structure.
Then in the signin template..
and in the signin.js
That should get you started. The trick is that this module 'extends' the useraccounts:core package, so by importing it, you also get the flow-router extensions (if you've added this package). I use Semantic UI for Blaze stuff, so I've included that in this example but I'm 99.9% sure any of the accounts-ui templating add ons will work the same. |
This thing is like month old. I don't even remember why writing it :/ |
Hmm not sure why you wrote it but I spent 2-3 hours working out how to get flow-router account-ui integration working properly using imports. So there it is for anyone who wants to find it. |
With newest builds AccountsTemplates.ensureSignedIn is undefined.
The text was updated successfully, but these errors were encountered: