F
Filament2y ago
Sesh

How to force users to re-login when accessing Filament (used as backend)?

I am using Filament as a backend for admins on an app with a TALL frontend (with Laravel Auth Login for the clients). The Filament login backend is also proteced by two-factor (through the filament 2FA plugin). There is just one user model and admins also have access to the frontend where they can login without 2FA (I do not want to force clients to use 2FA). At the moment an admin can circumvent 2FA by logging into the frontend and then accessing the Filament backend. I want users accessing the backend to be forced to login with 2FA through the Filament login flow. How can I achieve that?
1 Reply
Dennis Koch
Dennis Koch2y ago
I think easiest would be to use 2 different guard for client and admin
Want results from more Discord servers?
Add your server