From: Lilian <squ...@vi...> - 2003-08-31 17:43:56
|
Jonathan Angliss wrote: >Hello Lilian, >On Sunday, August 31, 2003, Lilian wrote... > > > >>Hi! >> >> > > > >>I have little problems with the Change_passwd 3.1 plugin and >>SquirrelMail 1.4.1. I get this debug info and error message when I try >>to change password. >> >> > > > >>Debug >> >> > >[..] > > > >>--- >>Forget to tell username (did have to translate this error message) >>Error: >>Ret Number: 1 >>--- >> >> > >[..] > >This looks like the plugin isn't setting username before feeding it to >the chpasswd function. This might be a simple fix, see if there is a >line that does something like this: > > sqgetGlobalVar('username', $username, SQ_SESSION) > >Or: > > $uername = $_SESSION['username'] > >If you don't see something like that, that may be the cause. > > > Only thing what did look little like that, is on html part. <TR> <TD align=right><?php echo $labelUsername?></TD> <TD><b><?php echo $username?></b> <input type=hidden name=user value=<?php echo $username?>></TD></TR> Regards Lilian |