I am using login_destination to redirect certain users to the edit page.
Other users are redirected to a "users" page.
I wish that after they edit their user (changing e-mail addresses and passwords), they are taken to the users page, not to the same edit page.

Is there a way to do this?

Thanks.

Comments

mrtoner’s picture

Yes, this is possible, but it doesn't have anything to do with login_destination, which only redirects after logging in.

Install the Rules module. Create a new Trigger Rule for the event User account details have been updated. Give it an action of Page redirect, with a destination of the page you desire.

clau_bolson’s picture

User details are not updated!
I want the changes to be commited.