Ashwin Kumar
|
c14bf111a8
|
chore: cleanup — remove legacy redirect shims and localStorage token storage
- Delete 19 redirect alias pages (sign-in/signin/sign-up/signup, /users/* aliases,
/companies/* aliases, /users/onboarding/* aliases) — legacy Next.js migration
artifacts that are no longer needed
- Remove localStorage token functions (getAccessToken, setTokens, clearTokens,
fetchWithAuth) from lib/http.ts — violates memory-only token strategy
- Fix auth/verification: replace setTokens + manual fetch with login() from auth.ts
- Fix ProfileWidget: replace fetchWithAuth with plain fetch (calls server routes)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-25 23:42:43 +01:00 |
|