Hello All,
We are using old version . on login page there is link Forger password on clicking it displays popup for Reset Password and asks for email address, after entering email address given in profile and clicking on reset button It displays " sendmail() got an unexpected keyword argument 'message' " i try to check code of login page it call reset_password method but the doctype name is not specified. from which doctype it is calling reset_password method cal any one explain.
please go through client script of login page
pscript.show_forgot_password = function(){
// create dialog
var d = new Dialog(400, 400, 'Reset Password')
d.make_body([['HTML','Title','Enter your email id to reset the password'], ['Data','Email Id'], ['Button','Reset']]);
var callback = function(r,rt) {
if(!r.exc) pscript.forgot_dialog.hide();
}
d.widgets['Reset'].onclick = function() {
$c('reset_password', {user: pscript.forgot_dialog.widgets['Email Id'].value}, callback)
}
d.show();
pscript.forgot_dialog = d;
}
Thank you.