[users-module] Redirect users on individual dashboard based on role.

lckamal - 7 months ago

I want to redirect user based on roles assigned to him. if hasRole('admin') redirect to /admin if hasRole('user') redirect to /user/dashboard if hasRole('editor') redirect to /editor/dashboard

I tried with UserWasLogged in event but doesn't work.


ryanthompson - 7 months ago

Let's keep this discussion in the other thread ^_^