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