{% macro nav_link(endpoint, name) %} {% if request.url == url_for(endpoint) %}
{{ name }}
{% else %}
{{ name }}
{% endif %} {% endmacro %}
IRRD {{ irrd_version }} {% if auth_sources %}({{ ', '.join(auth_sources) }}){% endif %}
{% if not readonly_standby %} {{ nav_link('ui:rpsl_update', 'Submit update') }} {% endif %} {% if request.auth.is_authenticated %} {{ nav_link('ui:user_permissions', 'Maintainers & permissions') }} {{ nav_link('ui:maintained_objects', 'My objects') }} {% if irrd_internal_migration_enabled %} {{ nav_link('ui:mntner_migrate_initiate', 'Migrate a mntner') }} {% endif %}
{{ request.auth.user.email }}
Two-factor status
Change password
Change name/email
Log out
{% elif not readonly_standby %} {{ nav_link('ui:auth:login', 'Log in') }} {{ nav_link('ui:auth:create_account', 'Create account') }} {% endif %}
{% for message in messages %}
{{ message.message }}
{% endfor %} {% if user and user.override and not user.has_mfa %}
Your account has override permissions You should
enable two-factor authentication
.
{% endif %} {% block content required %}{% endblock %}