Skip to content

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

@sbr226

Description

@sbr226

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions