mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Show if team members have 2FA enabled
This commit is contained in:
@@ -27,6 +27,15 @@
|
||||
<tr>
|
||||
<td>
|
||||
{{ u.email }}
|
||||
{% if u.require_2fa %}
|
||||
<span class="fa fa-shield text-success" data-toggle="tooltip"
|
||||
title="{% trans "Two-factor authentication enabled" %}">
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="fa fa-shield disabled" data-toggle="tooltip"
|
||||
title="{% trans "Two-factor authentication disabled" %}">
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<button type="submit" name="remove-member" value="{{ u.id }}"
|
||||
|
||||
@@ -395,3 +395,7 @@ body.loading #wrapper {
|
||||
.panel-title a[data-toggle="collapse"]:hover {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.fa.disabled {
|
||||
color: $text-muted;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user