mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-06 12:44:06 +01:00
Go back to passwords stored in session. This time, we use pycrypto to encrypt passwords using the AES algorithm. http://www.dlitz.net/software/pycrypto/ IMAP connections are now refreshed.
This commit is contained in:
@@ -43,8 +43,7 @@
|
||||
{% include "common/genericform.html" %}
|
||||
</div>
|
||||
{% if body %}
|
||||
<textarea id="id_body" name="id_body">
|
||||
{% if bodyheader %}{{ bodyheader }}{% endif %}
|
||||
<textarea id="id_body" name="id_body">{% if bodyheader %}{{ bodyheader }}{% endif %}
|
||||
{{ body }}
|
||||
</textarea>
|
||||
{% else %}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<tr>
|
||||
<th>{% trans "Attachments" %}</th>
|
||||
<td>
|
||||
{% url extensions.webmail.main.getattachment folder mail_id as test %}
|
||||
{% url extensions.webmail.views.getattachment folder mail_id as test %}
|
||||
{% for attachment in attachments %}
|
||||
<a href="{{ test }}?fname={{ attachment }}">{{ attachment }}</a>
|
||||
{% endfor %}
|
||||
|
||||
@@ -185,6 +185,9 @@ ul.visible {
|
||||
if (resp.status == "ko") {
|
||||
wm_updatelisting(resp);
|
||||
window.fireEvent("resize");
|
||||
if ($defined(resp.error)) {
|
||||
infobox.error(resp.error);
|
||||
}
|
||||
return;
|
||||
}
|
||||
current_anchor.parse_string(resp.url, true).setparams(navparams);
|
||||
|
||||
Reference in New Issue
Block a user