Iām creating a user role that allows them to only edit their own account (email, password, a bunch of fields). But panel login redirects to panel/site where they canāt do anything so I want to redirect them to panel/account. But I donāt know how.
Overriding that route (and doing a role check) in config.php doesnāt work.
Setting the panel permissions for that role like so crashes the login process:
Thatās what I have (more or less). To be clear: I have no trouble limiting editing permissions. I want the user to only see their account page after login, not the site dashboard.
The reason is: since they can only edit their account, itās bad UX to show them something else after login and have the only page they can actually edit hidden in the menu.
@phm Since you canāt redirect from a hook, maybe you can use a custom Panel login that redirects to the account. Or use a custom login form on the frontend.