Page 1 of 1

Malfunzionamento "forgot password" con FEU

Posted: Thu Jun 18, 2009 7:21 pm
by protempore
ho un problema... il modulo "forgot password" invia regolarmente il mail con i dati per riinizializzare la PW, ma il redirect alla pagina dopo l'invio del modulo di richiesta che dovrebbe avvisare dell'invio del mail ha un link sbagliato per cui Apache restituisce un errore 404.

restituisce questo url:

Code: Select all

http://www.XXX.net/cms/feu/forgot/index.php?mact=FrontEndUsers,cntnt01,default,0&cntnt01returnid=30&cntnt01returnid=30&cntnt01input_username=giorgio&cntnt01submit=Submit&cntnt01message=An%20email%20has%20been%20sent%20to%20store%40e-serv.it%20with%20instructions%20as%20to%20how%20to%20reset%20your%20password.%20%20Thank%20you&cntnt01skipformdisplay=1&cntnt01form=forgotpw
mentre dovrebbe dare:

Code: Select all

http://www.XXX.net/cms/index.php?mact=FrontEndUsers,cntnt01,default,0&cntnt01returnid=30&cntnt01returnid=30&cntnt01input_username=giorgio&cntnt01submit=Submit&cntnt01message=An%20email%20has%20been%20sent%20to%20store%40e-serv.it%20with%20instructions%20as%20to%20how%20to%20reset%20your%20password.%20%20Thank%20you&cntnt01skipformdisplay=1&cntnt01form=forgotpw
in pratica inserisce un "feu/forgot/" di troppo e il link non funziona...

soluzione?


PS) CMSMS 1.5.3 e FEU 1.6.4

Re: Malfunzionamento "forgot password" con FEU

Posted: Fri Jun 19, 2009 4:52 am
by protempore
avrei risolto con la modifica della variabile "$startform" nel template per la pw dimenticata

in questo modo:

{$startform|replace:"feu/forgot/":""}

però è evidentemente una "furbata"... non esiste un metodo più "pulito"?