Do not show ui for configuring 2fa if no backends are found
Fixes #13825 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
602d07d8aa
commit
af69e3b7ac
@ -32,7 +32,7 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
{% elseif num_backends > 0 %}
|
||||
<div class="group">
|
||||
<h2>{% trans "Configure two-factor authentication" %}</h2>
|
||||
<div class="group-cnt">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user