1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-11-23 22:04:47 +02:00
Files
Mailu/core/admin/mailu/ui/templates/login.html
2021-10-08 10:17:03 +02:00

22 lines
586 B
HTML

{%- extends "form.html" %}
{%- block title %}
{% trans %}Sign in{% endtrans %}
{%- endblock %}
{%- block subtitle %}
{% trans %}to access the administration tools{% endtrans %}
{%- endblock %}
{%+ block content %}
{% if config["SESSION_COOKIE_SECURE"] %}
<script language="javascript">
if(window.location.protocol != "https:") {
document.write('<div class="alert alert-danger" role="alert">The login form has been disabled as <b>SESSION_COOKIE_SECURE</b> is on but you are accessing Mailu over HTTP</div>');
window.stop();
}
</script>
{% endif %}
{{ super() }}
{%+ endblock %}