mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +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>
|
<a href="#" class="close" data-bind="click: hideError">×</a>
|
||||||
<span data-bind="text: submitError"></span>
|
<span data-bind="text: submitError"></span>
|
||||||
</div>
|
</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}">
|
<div class="controls" data-bind="css: {'error': loginError}">
|
||||||
<span class="fontastic">👤</span>
|
<span class="fontastic">👤</span>
|
||||||
<input name="Login" required="" type="text" class="input-block-level"
|
<input name="Login" required="" type="text" class="input-block-level"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<!-- ko text: submitErrorAdditional --><!-- /ko -->
|
<!-- ko text: submitErrorAdditional --><!-- /ko -->
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<form action="#/" spellcheck="false"
|
<form action="#/" spellcheck="false" method="POST"
|
||||||
data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
||||||
<div class="controls" data-bind="css: {'error': emailError}">
|
<div class="controls" data-bind="css: {'error': emailError}">
|
||||||
<span class="fontastic">✉</span>
|
<span class="fontastic">✉</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue