How do I modify my app so that when a non-logged-in user goes to the site, they are shown a page telling them to sign up/log in before they can proceed to the main site?

Ideally I would then just have the Jeremy:telescope-plugin-hero banner on that splash page and nothing else (links to sign up/log in would be on the banner).

Comments

Sacha GreifSacha Greif
last year

This is broken right now (fix coming soon), but if you check the require invite to view setting, it will redirect all users without an invite to the no_rights template. So you can:

  1. customize that template however you want
  2. add a hook to onCreateUser to set every new user's telescope.isInvited field to true

And that should do the trick.

Reply