You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using two panels, both with 2FA. One panel supports multi-tenancy, while the other doesn't. Right now, the config file is set globally, so when I try to enforce 2FA on the non-multi-tenant panel, it doesn't apply.
How to reproduce the bug
Create two panels—one with multi-tenancy enabled and one without—and enforce 2FA on both. Set the config to support multi-tenancy.
Repository
filament-2fa
Package Version
1.7.0
PHP Version
8.3
Laravel Version
10.10
Which operating systems does with happen with?
macOS
Notes
I can temporarily fix this by manually adding the middleware to the middleware group. The only issue is that I can’t add a closure to disable it in the local environment.
->middleware([
ForceTwoFactor::class,
])
The text was updated successfully, but these errors were encountered:
What happened?
I'm using two panels, both with 2FA. One panel supports multi-tenancy, while the other doesn't. Right now, the config file is set globally, so when I try to enforce 2FA on the non-multi-tenant panel, it doesn't apply.
How to reproduce the bug
Create two panels—one with multi-tenancy enabled and one without—and enforce 2FA on both. Set the config to support multi-tenancy.
Repository
filament-2fa
Package Version
1.7.0
PHP Version
8.3
Laravel Version
10.10
Which operating systems does with happen with?
macOS
Notes
I can temporarily fix this by manually adding the middleware to the middleware group. The only issue is that I can’t add a closure to disable it in the local environment.
The text was updated successfully, but these errors were encountered: