Skip to content

Add async option to csrfInput() #636

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

Closed
wants to merge 1 commit into from
Closed

Conversation

bencroker
Copy link
Contributor

This PR adds the async option to the csrfInput() function (added in 5.1.0) to demonstrate this it can be used here to override the asyncCsrfInputs config setting.

I also PR’d a note to the config setting in craftcms/cms#15411.

@bencroker bencroker requested a review from a team as a code owner July 25, 2024 09:36
Copy link

netlify bot commented Jul 25, 2024

👷 Deploy request for craft-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit d047ffc

@AugustMiller
Copy link
Contributor

Thanks, Ben! I went ahead and implemented this as part of a batch of changes to cover some new cache and request/response handling in 5.3. 💞

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