Skip to content

Commit

Permalink
disable MFA warning when OIDC enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
q committed Oct 29, 2024
1 parent d589450 commit 045b4ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions irrd/webui/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@
{{ message.message }}
</div>
{% endfor %}
{% if user and user.override and not user.has_mfa %}
{% if user and user.override and not user.has_mfa and not oidc_enabled %}
<div class="alert alert-warning" role="alert">
Your account has override permissions
You should
<a href="{{ url_for('ui:auth:mfa_status') }}">enable two-factor authentication</a>.

</div>
{% endif %}
{% block content required %}{% endblock %}
Expand Down

0 comments on commit 045b4ef

Please sign in to comment.