MLSAKIIT/devblogs-frontend
Add route protection to /create page by checking the token from localstorage/cookies using the /verify route on api
開放
#15 建立於 2024年10月14日
featurehacktoberfestsecurity
倉庫指標
- 星標
- (9 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
Implement route protection for the /create page by validating the token stored in local storage/cookies using the /verify API route. Redirect users if not authenticated.
Reference: Route Protection Guide