JasperTey
JasperTey
FFilament
Created by Samus_Aran on 5/2/2024 in #❓┊help
Conditional Multi-Tenancy Panel Redirect
Yes, what you've described is along the lines of what I was going to attempt next. I think it'll work.
4 replies
FFilament
Created by Samus_Aran on 5/2/2024 in #❓┊help
Conditional Multi-Tenancy Panel Redirect
I don't have a solution yet, but just want to say that I'm in the same boat here. Administrators manage the tenants and associations between users and tenants. I am wanting to redirect users who log in and do not yet have any tenant profiles, to a landing page that I can customize accordingly. "You do not have any active profiles yet" or something similar. My most recent attempt to resolve this was through ->tenantMiddleware() - where I was hoping I could intercept and redirect accordingly, but it seems that the middleware doesn't get executed at all, which makes sense since it would only be reached after tenancy is confirmed.
4 replies