I've been trying to upgrade from an earlier version of FEU where I had a simple login with no Captcha that redirected a logged in user to a members only page.
In 3.1.4 I've made a small change to the default login template to do a page redirect when $return_msg is not empty as suggested by the module Help. My page content is
Code: Select all
{cms_module_help module='FrontEndUsers' logintemplate='My Login form'}
{FrontEndUsers nocaptcha=true}
The correct parameters are passed for the template creation stage. When the Submit button is clicked the parameters then don't include nocaptcha or the logintemplate. I've proved that by inserting a print_r($params); at the start of action.login.php As a result the form is represented with a captcha box and the user has to log in again. When the submit button is pressed the $final_msg is displayed even though there is no means for this to happen in my template but is in orig_logintemplate.tpl.
I don't know sufficient about module writing so I haven't been able to correct this myself.