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
i am looking for this too ? did you ever find a way?
any updates many months later?
any updates on this topic?
Create a middleware, if user has no tenants, redirect.