After a user logs in, I redirect the user to an edit page so they can complete the regstration process (I set a boolean flag in the registration form that is hidden).
This all works and if the user saves the edit, I update this boolean (and another) field indicating success (for future logins) and redirect them to the list page and only for their own account. Again, this all works like a charm.
Now, if the user cancels the edit, I want to send them back to the login page after displaying a message. The message part I can figure out, but I can't seem to figure out where to trap the cancellation.
If anyone has an idea I would appreciate it.
thank you