mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-23 11:29:31 +00:00
Save the date when a webauthn key was used last time for 2 factor authentication and show it in user settings
This commit is contained in:
parent
b886c0aeae
commit
db72dac243
5 changed files with 125 additions and 12 deletions
|
|
@ -230,4 +230,12 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endmacro parameters_table %}
|
||||
{% endmacro parameters_table %}
|
||||
|
||||
{% macro format_date_nullable(datetime) %}
|
||||
{% if datetime is null %}
|
||||
<i>{% trans %}datetime.never{% endtrans %}</i>
|
||||
{% else %}
|
||||
{{ datetime|format_datetime }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue