-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
[PUI] Login broken with MFA enabled, template missing #8690
Comments
@sur5r can you please share the error messages you are seeing? |
Hrmpf, I tried 4 times putting everything in here, but github always destroyed it when previewing it. So here's the abbreviated version. Please ping me again if you need the tracebacks, I will attach them as individual files then.
|
Right so it looks like the original issue is from this file: https://github.com/inventree/InvenTree/blob/master/src/backend/InvenTree/templates/403_csrf.html Which is inheriting from a template which no longer exists:
@matmair any insights on this one? |
I can see an easy fix without re-introducing custom themes. Will submit today |
@matmair Thanks! Tried and works! Sidenote: Are there plans to bring back the wrapping paper background to the login page? I found that a really nice touch. |
Please verify that this bug has NOT been raised before.
Describe the bug*
24f433c broken MFA login via PUI as
accounts/base.html
and dependencies got removed.Steps to Reproduce
Expected behaviour
Partial revert of 24f433c restores 2FA login:
Deployment Method
Version Information
InvenTree-Version: 0.18.0 dev
Django Version: 4.2.17
Commit Hash: ff69cf6
Commit Date: 2024-12-17
Commit Branch: master
Database: postgresql
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-6.1.0-13-cloud-amd64-x86_64-with-glibc2.36
Installer: GIT
nullActive plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.1.0"},{"name":"InvenTreeCoreNotificationsPlugin","slug":"inventreecorenotificationsplugin","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"InvenTreeLabelSheet","slug":"inventreelabelsheet","version":"1.0.0"},{"name":"DigiKeyPlugin","slug":"digikeyplugin","version":"1.0.0"},{"name":"LCSCPlugin","slug":"lcscplugin","version":"1.0.0"},{"name":"MouserPlugin","slug":"mouserplugin","version":"1.0.0"},{"name":"TMEPlugin","slug":"tmeplugin","version":"1.0.0"},{"name":"Brother Labels","slug":"brother","version":"1.0.0"}]
Please verify if you can reproduce this bug on the demo site.
Relevant log output
The text was updated successfully, but these errors were encountered: