mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Mark SAML users as so in database and disable local password changing then.
This commit is contained in:
parent
78ec0f1ea3
commit
97c3b9002a
15 changed files with 1414 additions and 1264 deletions
|
@ -52,6 +52,15 @@
|
|||
{% block content %}
|
||||
{{ parent() }}
|
||||
|
||||
{% if user.samlUser %}
|
||||
<div class="alert alert-warning mt-3" role="alert">
|
||||
<h4 class="alert-heading">{% trans %}user.saml_user{% endtrans %}</h4>
|
||||
<p>
|
||||
{% trans %}user.saml_user.pw_change_hint{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include "users/_2fa_settings.html.twig" %}
|
||||
|
||||
<div class="card mt-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue