Add 2FA in menu
This commit is contained in:
parent
c033078859
commit
9f41a9c34a
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
<a href="{% url 'admin:articles_article_add' %}">Write</a>
|
<a href="{% url 'admin:articles_article_add' %}">Write</a>
|
||||||
<a href="{% url 'drafts-list' %}">View drafts <span class="pill">{{ drafts_count }}</span></a>
|
<a href="{% url 'drafts-list' %}">View drafts <span class="pill">{{ drafts_count }}</span></a>
|
||||||
<a href="{% url 'admin:index' %}">Admin</a>
|
<a href="{% url 'admin:index' %}">Admin</a>
|
||||||
|
<a href="{% url 'two_factor:profile' %}">2FA</a>
|
||||||
<a href="{% url 'admin:logout' %}?next={{ request.get_full_path }}">Log out</a>
|
<a href="{% url 'admin:logout' %}?next={{ request.get_full_path }}">Log out</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{% url 'admin:login' %}?next={{ request.get_full_path }}">Log in</a>
|
<a href="{% url 'admin:login' %}?next={{ request.get_full_path }}">Log in</a>
|
||||||
|
|
Reference in a new issue