mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Login form use method="POST" to prevent uri exposure when javascript fails
This commit is contained in:
parent
2a3cea63cc
commit
6b3f76e4ee
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<a href="#" class="close" data-bind="click: hideError">×</a>
|
||||
<span data-bind="text: submitError"></span>
|
||||
</div>
|
||||
<form action="#/" spellcheck="false" data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
||||
<form action="#/" spellcheck="false" method="POST" data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
||||
<div class="controls" data-bind="css: {'error': loginError}">
|
||||
<span class="fontastic">👤</span>
|
||||
<input name="Login" required="" type="text" class="input-block-level"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<!-- ko text: submitErrorAdditional --><!-- /ko -->
|
||||
</p>
|
||||
</div>
|
||||
<form action="#/" spellcheck="false"
|
||||
<form action="#/" spellcheck="false" method="POST"
|
||||
data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
||||
<div class="controls" data-bind="css: {'error': emailError}">
|
||||
<span class="fontastic">✉</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue