fix(03): login redirect + API internal URL for Docker networking

- Use window.location.href for full page reload after login (ensures auth state)
- Add API_INTERNAL_URL for server-side requests within Docker network
- Remove unnecessary credentials:'include' from SSR fetch calls
- Update planning state for Phase 03 progress

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-20 09:28:05 +02:00
parent f5a775c0df
commit 46a6e277b8
5 changed files with 11 additions and 12 deletions
+1 -2
View File
@@ -27,8 +27,7 @@ export default function LoginPage() {
startTransition(async () => {
const result = await login(formData);
if (result.success) {
router.push('/');
router.refresh();
window.location.href = '/';
} else {
setError(result.error ?? 'invalidCredentials');
}