Merge pull request #14131 from edx/e0d/sec-223

Add method attribute to make sure login, registration, password_reset…
This commit is contained in:
Edward Zarecor
2016-12-12 09:21:31 -05:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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">