2019-03-14 18:01:41 +01:00
|
|
|
{% extends "main_card.html.twig" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}{% trans %}login.title{% endtrans %}{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block card_title %}<h5>
|
|
|
|
|
<i class="fa fa-sign-in-alt fa-fw" aria-hidden="true"></i>
|
|
|
|
|
{% trans %}login.card_title{% endtrans %}
|
2019-12-01 12:48:59 +01:00
|
|
|
</h5>
|
2019-03-14 18:01:41 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
|
|
{% if error %}
|
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
|
<strong>{{ error.messageKey|trans(error.messageData, 'security') }}</strong>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
{{ parent() }}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block card_content %}
|
|
|
|
|
|
2026-03-07 00:46:34 +01:00
|
|
|
{% if saml_enabled %}
|
2026-03-07 16:14:58 +01:00
|
|
|
<div class="{{ offset_label }} {{ col_input }}">
|
2026-03-07 00:46:34 +01:00
|
|
|
<a class="btn btn-secondary" href="{{ path('saml_login') }}"><i class="fa-solid fa-house-user"></i> {% trans %}login.sso_saml_login{% endtrans %}</a>
|
2019-03-14 18:01:41 +01:00
|
|
|
|
2026-03-07 00:46:34 +01:00
|
|
|
<p class="text-muted">{% trans %}login.local_login_hint{% endtrans %}</p>
|
2019-03-14 18:01:41 +01:00
|
|
|
</div>
|
2026-03-07 00:46:34 +01:00
|
|
|
{% endif %}
|
2019-03-14 18:01:41 +01:00
|
|
|
|
2026-03-07 00:46:34 +01:00
|
|
|
{{ form_start(form) }}
|
2019-03-14 18:27:29 +01:00
|
|
|
|
2026-03-07 00:46:34 +01:00
|
|
|
{{ form_row(form._username) }}
|
|
|
|
|
{{ form_row(form._password) }}
|
|
|
|
|
{{ form_row(form._remember_me) }}
|
|
|
|
|
{{ form_row(form.submit) }}
|
|
|
|
|
|
|
|
|
|
{{ form_end(form) }}
|
2019-11-24 22:49:22 +01:00
|
|
|
|
2019-12-01 12:48:59 +01:00
|
|
|
{% if allow_email_pw_reset %}
|
2026-03-07 16:14:58 +01:00
|
|
|
<a class="{{ offset_label }}" href="{{ path('pw_reset_request') }}">{% trans %}pw_reset.password_forget{% endtrans %}</a>
|
2019-12-01 12:48:59 +01:00
|
|
|
{% endif %}
|
2025-08-04 23:50:25 +02:00
|
|
|
{% endblock %}
|