Skip to content

Fix delete button: include CSRF token and credentials in fetch#614

Merged
asim merged 1 commit into
mainfrom
claude/add-wallet-transfers-74PHC
Jun 6, 2026
Merged

Fix delete button: include CSRF token and credentials in fetch#614
asim merged 1 commit into
mainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented Jun 6, 2026

The delete button's fetch POST was missing credentials and the CSRF token header, so the server rejected it. Now reads csrf_token from the cookie and sends it as X-CSRF-Token. Also fixed a double semicolon in the redirect logic.

The delete button's fetch POST was missing credentials and the
CSRF token header, so the server rejected it. Now reads csrf_token
from the cookie and sends it as X-CSRF-Token. Also fixed a double
semicolon in the redirect logic.
@asim asim merged commit 915f9b6 into main Jun 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants