-
Notifications
You must be signed in to change notification settings - Fork 280
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
ensureSignedIn plugin not found error only in production/bundled mode #294
Comments
i reverted back to the soon to be deprecated onbeforeaction version, this works as expected, prompting the user to log in |
wow :( This is something to be investigated! ...the second error you're reporting should be solved since f078f8c please make sure you're running on v1.8.1 |
i'm on 1.8.1 for sure - https://github.com/nate-strauser/wework/blob/master/.meteor/versions#L120 i do want to move the routes out of client, i'll check again when i do that refactoring |
Hei Nathan, Lets have a look at the private page! Could you provide some more details about your deploying environment? |
The same for the private page for the bootstrap version... These lines are those used to configure the plugin... |
i only get this error when in production/bundled mode - seems to work fine in development mode
this error leaves the protected routes accessible to a non-logged in user
in development, i get the proper redirection to the sign in page, while in production the non-logged in user can access the routes
i think i'm using the plugin correctly - https://github.com/nate-strauser/wework/blob/master/client/main.js#L158
tried moving the routes to the /lib directory instead of /client but that presented this error
The text was updated successfully, but these errors were encountered: