Skip to content

Commit

Permalink
Workaround for globals bug in Qute when compiling for native
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed Nov 7, 2023
1 parent 4ec386a commit b096fbd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{! There appears to be a bug in native for globals, that require me to do this !}
{@io.quarkus.csrf.reactive.runtime.CsrfTokenParameterProvider csrf}
{! It is possible to disable CSRF via configuration !}
{#if data:csrf??}
<input type="hidden" name="{data:csrf.parameterName}" value="{data:csrf.token}"/>
Expand Down

0 comments on commit b096fbd

Please sign in to comment.