When init() restores session from cookie and user's current URL is /login, the guard was calling next() without checking isAuthenticated — leaving the user on the login page despite having a valid session. Now redirects to dashboard if already authenticated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .env.example | ||
| .eslintrc.cjs | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||