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

Fixed Auth Config $views['layout'] value... #436

Closed

Conversation

daracorcoran
Copy link
Contributor

@daracorcoran daracorcoran commented Mar 13, 2024

...to reference the appropriate Shield layout, instead of 'master'.

Same issue as #352

Was getting an Invalid File error after login, on a fresh install, with 2FA enabled. Looks like the value should be the Shield view layout?

@dgvirtual
Copy link
Contributor

Have you checked how it actually works? Shield layouts are not used in Bonfire2, since there is a different theming mechanism here.

@daracorcoran
Copy link
Contributor Author

You're right, I forgot there is a separate Auth theme.
I'll close the PR for now, it'll need more work. But the error persists.

Looks like Bonfire is using the Shield controller for 2FA so it's bypassing the themeable controllers. Bonfire might need to overwrite those routes as it does for login & register etc. in Auth > Config > Routes

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.

2 participants