cc2079db77b44a97412fc74c515708eaf92faae4
The root page was a static public landing that always shows a 'Zum Portal' button pointing at /anmelden, and /anmelden never redirects authenticated users. After login the callbackURL '/' landed on this static page, so the user saw the login form again — the post-login loop. Make / an async server component that reads the session and redirects to /admin (admin) or /redaktion/alben (editorial); unauthenticated users still see the landing. Co-Authored-By: Claude <noreply@anthropic.com>
Languages
TypeScript
98.4%
CSS
1.3%
Shell
0.2%
Dockerfile
0.1%