Skip to content

Commit

Permalink
Merge pull request #798 from companieshouse/sec-113-add-3-more-csrfs
Browse files Browse the repository at this point in the history
SEC-113 Two more pages require csrf
  • Loading branch information
mattch1 authored Oct 24, 2024
2 parents 0b55c26 + ddcf688 commit 7f9d085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions views/signout.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
{% endif %}

<form action="/confirmation-statement/signout" method="POST">
{% include "includes/csrf_token.html" %}
{{ govukRadios({
classes: "govuk-radios--inline",
idPrefix: "aignout",
Expand Down
1 change: 1 addition & 0 deletions views/trading-stop.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<form action="" method="post">
{% include "includes/csrf_token.html" %}
<h1 class="govuk-heading-xl">
You cannot use this service
</h1>
Expand Down

0 comments on commit 7f9d085

Please sign in to comment.