You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
22 lines
586 B
HTML
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 %}
|