Closed nate-strauser closed 9 years ago
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 f078f8cb81adeb83e23355f860c7e4ca0b910247
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, I've just deployed the latest version of the semantic-ui boilerplate on useraccounts-semantic-ui.meteor.com and it seem to work as expected...
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