labd / wagtail-2fa

2 Factor Authentication for Wagtail

Home Page:https://wagtail-2fa.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS file not found on otp_form.html, when WAGTAIL_2FA_REQUIRED is set to True

mennohaans opened this issue · comments

If you set WAGTAIL_2FA_REQUIRED = True, the styling will be missing on the otp_form.html when you try to loggin.
This happend because when the page tries to get the css file at: .../static/wagtailadmin/css/core.css
It redirects to the otp token (otp_form.html) page.

I'm using Wagtail 4.2.4