disable forward secrecy for now, fix autocomplete for to address in mail

This commit is contained in:
Kevin Froman 2020-10-28 02:49:21 +00:00
parent 3ab8681b24
commit 2601263b87
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ def accept_upload(request):
resp = 'failure' resp = 'failure'
data = request.get_data() data = request.get_data()
data_size = sys.getsizeof(data) data_size = sys.getsizeof(data)
print(data)
if data_size < 30: if data_size < 30:
resp = 'size' resp = 'size'
elif data_size < 100000000: elif data_size < 100000000:

View File

@ -130,7 +130,7 @@
<div class="column is-2"> <div class="column is-2">
<div class="field"> <div class="field">
<input id="forwardSecrecySetting" type="checkbox" <input id="forwardSecrecySetting" type="checkbox"
class="switch is-rounded is-danger" checked> class="switch is-rounded is-danger">
<label for="forwardSecrecySetting"></label> <label for="forwardSecrecySetting"></label>
</div> </div>
</div> </div>
@ -244,7 +244,7 @@
</div> </div>
<form method="post" action="" id="sendForm" enctype="application/x-www-form-urlencoded"> <form method="post" action="" id="sendForm" enctype="application/x-www-form-urlencoded">
<div class="field"> <div class="field">
To: <input id="draftID" type="text" name="to" placeholder="pubkey or select above" required> To: <input id="draftID" type="text" name="to" placeholder="pubkey or select above" autocomplete="off" required>
</div> </div>
Subject: <input name="subject" id="draftSubject" maxlength="25" type="text" Subject: <input name="subject" id="draftSubject" maxlength="25" type="text"
placeholder="message subject" autocomplete="off"> placeholder="message subject" autocomplete="off">

View File

@ -1 +1 @@
1603378318 1603853271