Fix CSRF
This commit is contained in:
parent
7d832ba545
commit
6e93f36273
|
@ -75,7 +75,7 @@
|
|||
<p class="mt-1 mb-2 max-w-2xl text-sm text-gray-600">
|
||||
Paste the raw transaction here in hex format to broadcast it over the Zcash network.
|
||||
</p>
|
||||
<input type="hidden" value="{@csrf_token}" name="_csrf_token"/>
|
||||
<input type="hidden" value={@csrf_token} name="_csrf_token"/>
|
||||
<textarea id="broadcast" name="tx-hex" rows="22" class="w-full shadow-sm bg-indigo-400 bg-opacity-5 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border border-gray-300 rounded-md font-mono text-green-400 ">
|
||||
</textarea>
|
||||
|
||||
|
|
|
@ -177,7 +177,10 @@
|
|||
|
||||
<form class="space-y-8" action="/payment-disclosure" method="post">
|
||||
<div class="space-y-8 divide-y divide-red-200 sm:space-y-5">
|
||||
<input type="hidden" value="{@csrf_token %}" name="_csrf_token"/>
|
||||
|
||||
<input type="hidden" value={@csrf_token} name="_csrf_token"/>
|
||||
|
||||
|
||||
<textarea id="disclosure" name="disclosure-hex" rows="22" class="w-full shadow-sm bg-indigo-400 bg-opacity-5 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border border-gray-300 rounded-md font-mono text-green-400">
|
||||
</textarea>
|
||||
</div>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<p class="mt-1 mb-2 max-w-2xl text-sm text-gray-600">
|
||||
Paste the viewing key, click on the "Start Importing" button and grab a coffee!
|
||||
</p>
|
||||
<input type="hidden" value="{@csrf_token %}" name="_csrf_token"/>
|
||||
<input type="hidden" value={@csrf_token} name="_csrf_token"/>
|
||||
|
||||
<textarea id="broadcast" name="vkey" rows="4" class="w-full shadow-sm bg-indigo-400 bg-opacity-5 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border border-gray-300 rounded-md font-mono text-green-400 "></textarea>
|
||||
|
||||
|
|
Loading…
Reference in New Issue