Require Authorized

πŸ‘¨β€πŸ’Ό We've got a number of pages that users have no business being on. Like the edit page of someone else's note, for example, if you're not logged in, you should not be able to go to or .
And you certainly shouldn't be able to do anything on those pages as well. So in this exercise, you're going to make a new requireUser utility which you can then apply to those routes' loaders and actions.
The emoji will be there to guide you! Have fun!

Access Denied

You must login or register for the workshop to view the diff.

Check out this video to see how the diff tab works.