[users-module] Redirect users on individual dashboard based on role.
Created 7 years ago by lckamal

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 years ago Best Answer