properly working csrf at checkout fixed now
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
Priec
2026-06-21 20:19:58 +02:00
parent 8dc153efcc
commit c9eb47860d

View File

@@ -21,8 +21,7 @@
packetaKey: '{{ packeta_api_key }}',
fmt(c) { return (c / 100).toFixed(2) },
pickPoint() {
Packeta.Widget.pick(this.packetaKey, (point) =>
{{ ui::csrf_field() }} {
Packeta.Widget.pick(this.packetaKey, (point) => {
if (point) { this.pointId = String(point.id); this.pointName = point.formatedValue || point.name }
})
},
@@ -31,6 +30,7 @@
}
}"
class="mt-6 grid gap-8 lg:grid-cols-3">
{{ ui::csrf_field() }}
<div class="space-y-6 lg:col-span-2">
<!-- personal vs company. Fixed (read-only) for a logged-in account; a guest