Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is it possible to inject the csrf token into forms? #257

Answered by Archmonger
dickermoshe asked this question in Problem
Discussion options

Seems that there is no way to do this. Is this the case?

You must be logged in to vote

CSRF can be injected as a hidden input. See this answer on Discord.

Replies: 1 comment 1 reply

Comment options

CSRF can be injected as a hidden input. See this answer on Discord.

You must be logged in to vote
1 reply
Comment options

Very smart. This is one of the coolest packages I've ever seen.

Everyone should copy this approach. While I wish there was something like jsx for python, the underlying architecture here is perfect.
The smartest way I've ever seen to keep all state on the server and still have great performance.

I was concerned about this packages health, but getting an answer so quickly is very reassuring.

Answer selected by dickermoshe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /