debug(web): log set-cookie header value from API change-password response
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user