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!
Was this page helpful?