Skip to content

Having trouble with ensureSignedIn #2

@dovrosenberg

Description

@dovrosenberg

Thanks for the all the work on this.

I've got everything working great if I don't filter out logged out users. All the sign-in, reset password, etc. templates get created and route correctly. But as soon as I do:

FlowRouter.triggers.enter([AccountsTemplates.ensureSignedIn]);

it all stops working.

All the routes are properly redirected to sign-in, and I can see the redirect being called, but the rendering code here never gets called, nor does the route-specific trigger

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions