mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix spelling
This commit is contained in:
parent
fc0e80dd76
commit
3cb2078821
@ -855,7 +855,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
|||||||
},
|
},
|
||||||
'LOGIN_ENFORCE_MFA': {
|
'LOGIN_ENFORCE_MFA': {
|
||||||
'name': _('Enforce MFA'),
|
'name': _('Enforce MFA'),
|
||||||
'description': _('Users must use multifaktor security.'),
|
'description': _('Users must use multifactor security.'),
|
||||||
'default': False,
|
'default': False,
|
||||||
'validator': bool,
|
'validator': bool,
|
||||||
},
|
},
|
||||||
|
@ -157,12 +157,12 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class='panel-heading'>
|
<div class='panel-heading'>
|
||||||
<h4>{% trans "Multifaktor" %}</h4>
|
<h4>{% trans "Multifactor" %}</h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
{% if user.staticdevice_set.all or user.totpdevice_set.all %}
|
{% if user.staticdevice_set.all or user.totpdevice_set.all %}
|
||||||
<p>{% trans 'You have these faktors available:' %}</p>
|
<p>{% trans 'You have these factors available:' %}</p>
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
@ -187,17 +187,17 @@
|
|||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<p><strong>{% trans 'Warning:'%}</strong>
|
<p><strong>{% trans 'Warning:'%}</strong>
|
||||||
{% trans "You currently do not have any faktors set up." %}
|
{% trans "You currently do not have any factors set up." %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<h5>{% trans "Change faktors" %}</h5>
|
<h5>{% trans "Change factors" %}</h5>
|
||||||
<a href="{% url 'two-factor-setup' %}" class="btn btn-primary" {% if user.staticdevice_set.all and user.totpdevice_set.all %}disabled{% endif %}>{% trans "Setup multifaktor" %}</a>
|
<a href="{% url 'two-factor-setup' %}" class="btn btn-primary" {% if user.staticdevice_set.all and user.totpdevice_set.all %}disabled{% endif %}>{% trans "Setup multifactor" %}</a>
|
||||||
{% if user.staticdevice_set.all or user.totpdevice_set.all %}
|
{% if user.staticdevice_set.all or user.totpdevice_set.all %}
|
||||||
<a href="{% url 'two-factor-remove' %}" class="btn btn-primary">{% trans "Remove multifaktor" %}</a>
|
<a href="{% url 'two-factor-remove' %}" class="btn btn-primary">{% trans "Remove multifactor" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user