Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wagtail 4.0 - 5.1 #227

Merged
merged 16 commits into from Oct 30, 2023
Merged

Wagtail 4.0 - 5.1 #227

merged 16 commits into from Oct 30, 2023

Conversation

katdom13
Copy link
Contributor

@katdom13 katdom13 commented Oct 4, 2023

nickmoreton and others added 10 commits April 13, 2023 13:39
Also add support for Django 4.2 and Wagtail 5.0
Wagtail attempts to load SVG sprites from this url and injects them into
the browsers DOM. When this url is guarded by 2FA, the HTML of the 2FA
verification page is injected into the DOM instead. This results in a
duplicate form on the page.
@ArnarTumi
Copy link

I tried this branch today as part of an upgrade to wagtail 5, and I am always getting a duplicate devices screen. By that I mean I get the QR code form twice, it seems to be that some javascript is injecting it at the bottom of the dom, since it is not there when I view the source. This also means that I am unable to create a new otp. Are you seeing anything like this?

Allow 'wagtailadmin_sprite' url to bypass 2FA
@davisnando
Copy link
Member

@ArnarTumi Yes i'm getting the same issue.

@nickmoreton
Copy link
Contributor

@davisnando @ArnarTumi Can you try this now, it works for me locally using the sandbox. Thanks

@davisnando
Copy link
Member

@nickmoreton Seems to work now!

@davisnando davisnando merged commit 1f0f8f0 into labd:master Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants