Ben

why not just use a reset password button (like mine) that sets it to 123456 i.e. $PASSWORD variable

because if you are setting it to expire when you change the password you might as well set it to a default password [Smile]

and 123456 is a password peeps can't get wrong [Smile] i.e. no asking questions like is that upper or lower case etc

just an idea [Smile]

Pete