Allow to configure SAML via env variables

This commit is contained in:
Jan Böhmer 2023-02-22 00:50:51 +01:00
parent 586a57c2c9
commit c5904303e3
9 changed files with 76 additions and 13 deletions

View file

@ -27,7 +27,14 @@
<input type="hidden" name="_target_path" value="{{ app.request.query.get('_target_path') }}" />
<a href="{{ path('saml_login') }}">SAML Login</a>
{% if saml_enabled %}
<div class="col-md-9 offset-md-3 col-lg-10 offset-lg-2">
<a class="btn btn-secondary" href="{{ path('saml_login') }}"><i class="fa-solid fa-house-user"></i> {% trans %}login.sso_saml_login{% endtrans %}</a>
<p class="text-muted">{% trans %}login.local_login_hint{% endtrans %}</p>
</div>
{% endif %}
<div class="form-group row">
<label class="col-form-label col-md-3 col-lg-2">{% trans %}login.username.label{% endtrans %}</label>