Redirect users with no tenants to a different page

Hello! I have a panel with multi-tenancy and I'm implementing the invites system. As part of that, I'd like to redirect users with no tenant assigned to a different page (not the create), where I can show the invites and, if there is permissions, show a button (or something) to the Create tenant page. I've looked into how the redirection is done in RedirectToTenantController, can't find a way to override it. Can anyone help me? Thank you!
4 Replies
nostrodamned
nostrodamned9mo ago
i am looking for this too ? did you ever find a way?
Krzysztof
Krzysztof7mo ago
any updates many months later?
anacrk
anacrk7mo ago
any updates on this topic?
toeknee
toeknee7mo ago
Create a middleware, if user has no tenants, redirect.
Want results from more Discord servers?
Add your server