yousufhassan / instagram-time-capsule

Relive your Instagram memories
0 stars 0 forks source link

Only allow some urls to be accessed if user is authenticated #9

Closed yousufhassan closed 1 year ago

yousufhassan commented 1 year ago

For example, the "/home" route should not be accessible unless a user is logged in, and even then, they should only be able to view "their" homepage.