2021-09-22 20:47:10 +02:00
|
|
|
{% extends 'base.twig' %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h3>{{ lang.user.user_settings }}</h3>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">{{ lang.user.user_settings }}</div>
|
|
|
|
<div class="card-body">
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="row">
|
2022-04-01 07:33:01 +02:00
|
|
|
<div class="offset-sm-3 col-sm-9">
|
2022-03-30 13:04:54 +02:00
|
|
|
<p><a href="#pwChangeModal" data-bs-toggle="modal">[{{ lang.user.change_password }}]</a></p>
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="last-login"></div>
|
|
|
|
<span class="clear-last-logins">{{ lang.user.clear_recent_successful_connections }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
{# TFA #}
|
|
|
|
<div class="row">
|
2022-04-01 08:02:11 +02:00
|
|
|
<div class="col-sm-3 col-5 text-end">{{ lang.tfa.tfa }}</div>
|
|
|
|
<div class="col-sm-9 col-7">
|
2021-09-22 20:47:10 +02:00
|
|
|
<p id="tfa_pretty">{{ tfa_data.pretty }}</p>
|
|
|
|
{% include 'tfa_keys.twig' %}
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2022-04-01 08:02:11 +02:00
|
|
|
<div class="col-sm-3 col-5 text-end">{{ lang.tfa.set_tfa }}</div>
|
|
|
|
<div class="col-sm-9 col-7">
|
2021-09-22 20:47:10 +02:00
|
|
|
<select id="selectTFA" class="selectpicker" title="{{ lang.tfa.select }}">
|
|
|
|
<option value="yubi_otp">{{ lang.tfa.yubi_otp }}</option>
|
2022-02-22 09:38:06 +01:00
|
|
|
<option value="webauthn">{{ lang.tfa.webauthn }}</option>
|
2021-09-22 20:47:10 +02:00
|
|
|
<option value="totp">{{ lang.tfa.totp }}</option>
|
|
|
|
<option value="none">{{ lang.tfa.none }}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
{# FIDO2 #}
|
|
|
|
<div class="row">
|
2022-04-01 08:02:11 +02:00
|
|
|
<div class="col-sm-3 col-5 text-end">
|
2021-09-22 20:47:10 +02:00
|
|
|
<p><i class="bi bi-shield-fill-check"></i> {{ lang.fido2.fido2_auth }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2022-04-01 08:02:11 +02:00
|
|
|
<div class="col-sm-3 col-5 text-end">{{ lang.fido2.known_ids }}:</div>
|
|
|
|
<div class="col-sm-9 col-7">
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-striped table-hover table-condensed" id="fido2_keys">
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th style="min-width:240px;text-align: right">{{ lang.admin.action }}</th>
|
|
|
|
</tr>
|
|
|
|
{% include 'fido2.twig' %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2022-04-01 07:33:01 +02:00
|
|
|
<div class="offset-sm-3 col-sm-9">
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="btn-group">
|
|
|
|
<button class="btn btn-sm btn-primary" id="register-fido2">{{ lang.fido2.set_fido2 }}</button>
|
2022-03-31 10:09:25 +02:00
|
|
|
<button type="button" class="btn btn-sm btn-xs-lg btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
|
2021-09-22 20:47:10 +02:00
|
|
|
<ul class="dropdown-menu">
|
2022-03-31 10:09:25 +02:00
|
|
|
<li><a class="dropdown-item" href="#" id="register-fido2-touchid"><i class="bi bi-shield-fill-check"></i> {{ lang.fido2.set_fido2_touchid }}</a></li>
|
2021-09-22 20:47:10 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div class="row" id="status-fido2">
|
2022-04-01 08:02:11 +02:00
|
|
|
<div class="col-sm-3 col-5 text-end">{{ lang.fido2.register_status }}:</div>
|
|
|
|
<div class="col-sm-9 col-7">
|
2021-09-22 20:47:10 +02:00
|
|
|
<div id="fido2-alerts">-</div>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% include 'user_domainadmin_common.twig' %}
|
|
|
|
{% endblock %}
|