Login/UpdateProfile: &submitVar doesn't work
It seems that updateProfile only works if you use the default name for the submit button and remove any &submitVar parameter from the function call.
&submitVar is included in the list of valid parameters in rtfm:
http://rtfm.modx.com/extras/revo/login/login.updateprofile
I guess the root of the problem is somewhere inside Login/core/components/login/controllers/web/UpdateProfile.php but I can't find anything that looks out of the ordinary there.
As far as I can see hasPost() checks if the current POST array contains a key identical to the value of submitVar and returns true if this is the case.
I've noticed that during validation submitVar is automatically removed from the list of processed fields but this looks sound to me because it happens after hasPost is triggered.
I have to admit that I don't have a clue whats going on here.
Any ideas?
Cheers,
pepebe