[users-module] Redirect users on individual dashboard based on role.
Created 2 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  —  2 years ago Best Answer