Skip to content

Commit

Permalink
Include template for branding logo for wagtail > 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davisnando committed Dec 20, 2023
1 parent 848c770 commit 66d0a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wagtail_2fa/templates/wagtail_2fa/legacy/otp_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1>{% block branding_login %}{% trans "Enter your two-factor authentication cod

{% block branding_logo %}
<div class="login-logo">
<img class="login-logo-img" alt="" src="{% versioned_static 'wagtailadmin/icons/wagtail.svg' %}" />
<img class="login-logo-img" alt="" src="{% versioned_static 'wagtailadmin/images/icons/wagtail.svg' %}" />
</div>
{% endblock %}
</main>
Expand Down
2 changes: 1 addition & 1 deletion src/wagtail_2fa/templates/wagtail_2fa/otp_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1>{% block branding_login %}{% trans "Enter your two-factor authentication cod

{% block branding_logo %}
<div class="login-logo">
<img class="login-logo-img" alt="" src="{% versioned_static 'wagtailadmin/icons/wagtail.svg' %}" />
{% include "wagtailadmin/icons/wagtail.svg" %}
</div>
{% endblock %}
</main>
Expand Down

0 comments on commit 66d0a6a

Please sign in to comment.