debug(web): log set-cookie header value from API change-password response
Tessera CI/CD / Lint & Type Check (push) Successful in 44s
Tessera CI/CD / Tests (push) Successful in 38s
Tessera CI/CD / Build & Publish Images (push) Successful in 1m18s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 07:12:45 +02:00
parent f96a0db769
commit 195354cd7a
+1
View File
@@ -136,6 +136,7 @@ export async function changePasswordAction(
// Forward new session cookie from API (mustChangePassword=false baked in)
const setCookieHeader = response.headers.get('set-cookie');
console.log('[changePasswordAction] set-cookie header:', setCookieHeader);
if (setCookieHeader) {
const sessionMatch = setCookieHeader.match(/session=([^;]+)/);
if (sessionMatch) {