Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: using hono/csrf middleware #1553

Merged
merged 3 commits into from
Apr 28, 2024
Merged

Conversation

benjamine
Copy link
Contributor

just a documentation update.
updating hono guide to use the built-in hono/csrf middleware, see https://hono.dev/middleware/builtin/csrf

updating hono guide to use the built-in hono/csrf middleware
@benjamine benjamine changed the title using hono/csrf middleware docs: using hono/csrf middleware Apr 26, 2024
@pilcrowonpaper
Copy link
Member

Can you update this line

This can be easily done by comparing the Origin and Host header.

to something like

This can be done using the csrf() middleware provided by Hono.

@benjamine
Copy link
Contributor Author

@pilcrowonpaper good catch, just updated the text above

@pilcrowonpaper pilcrowonpaper merged commit d285a08 into lucia-auth:main Apr 28, 2024
@pilcrowonpaper
Copy link
Member

Thanks!

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