# -*- perl -*- if ($maintdir == "") $maintdir = ".."; require("$maintdir/constants.php3"); require("$classdir/User.php3"); require("$authdir/perror-list.php3"); require("$authdir/perror-function.php3"); require("$authdir/mail-password.php3"); # Main logic $user = new User_lsc("bogus"); trim($afsid); if ($afsid == "") { do_perror($ERR_NO_AFSID_SUPPLIED); } $theUser = lookupUser($afsid); if ($theUser->isValid()) { mail_password(); $theUser->save(); } else { do_perror($ERR_NO_SUCH_AFSID); } ?>
Your new password has been sent to " . $theUser->getEmail() . ". \n"); ?> You should receive it within a few minutes. print("
Using your new password, you can click here to login.\n"); ?> include("$lamtop/includes/std_footer.php3"); ?>