Hi Guys, hope you're well.
I am having to implement the com_user component trough some clients web sites and is kind of disappointing.
When adding the com_user login as a module it doesn't validate the email and password fields. The same happens for registration as well as reset and renew password.
The user feels a bit lost when for example inserting a not valid email address and nothing happens. Also when successfully registering there is no message making the user know that everything went well.
Looking at the core files seems like the setRedirect method doesn't return the $msg to the redirect page. I actually just see that working on components on the backend not in the front end.
this->setRedirect( $_SERVER['HTTP_REFERER'], $msg );
I tried to avoid that but in this case I had to slightly change the core files and post the $msg parameter back as part of the string. Also a JS helped me to validate incorrect inputs on the forms.
Have you guys ever faced that?
Jose Soares
www.linkedin.com/in/joseotaviosoares