It's a good idea to secure your publish functions independently of the views. Otherwise, anyone can open up a JavaScript console and subscribe to a publish function that's intended to be private. In this lesson we'll ensure that a user is logged in before publishing any data. We'll also take care to implement this feature in a way that's compatible with the spiderable server-side rendering package.
Something not making sense, want to share your thoughts or just say hello? I check this daily!
Join the Discussion
Want to leave a comment? Login Logging in... .