there can be only one factor

This commit is contained in:
Matthias 2021-11-01 22:43:43 +01:00
parent 17e7c2ee15
commit 392e7f6e4c
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -161,7 +161,7 @@
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
{% if user.staticdevice_set.all and 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 faktors available:' %}</p>
<table class="table table-striped"> <table class="table table-striped">