Add method attribute to make sure login, registration, password_reset, and financial_assistance forms are always submitted via POST. SEC-223
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<% }); %>
|
||||
</div>
|
||||
|
||||
<form class="financial-assistance-form">
|
||||
<form class="financial-assistance-form" method="POST">
|
||||
<div class="status submission-error hidden" aria-live="polite">
|
||||
<h4 class="message-title"><%- gettext('Unable to submit application') %></h4>
|
||||
<ul class="message-copy"></ul>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<form id="login" class="login-form" tabindex="-1">
|
||||
<form id="login" class="login-form" tabindex="-1" method="POST">
|
||||
|
||||
<div class="section-title lines">
|
||||
<h2>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<ul class="message-copy"></ul>
|
||||
</div>
|
||||
|
||||
<form id="password-reset" class="password-reset-form" tabindex="-1">
|
||||
<form id="password-reset" class="password-reset-form" tabindex="-1" method="POST">
|
||||
|
||||
<div class="section-title lines">
|
||||
<h2>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<ul class="message-copy"></ul>
|
||||
</div>
|
||||
|
||||
<form id="register" class="register-form" autocomplete="off" tabindex="-1">
|
||||
<form id="register" class="register-form" autocomplete="off" tabindex="-1" method="POST">
|
||||
|
||||
<% if (context.errorMessage) { %>
|
||||
<div class="status submission-error">
|
||||
|
||||
Reference in New Issue
Block a user