17885da38bd883cbc4c415cacb3aa32c13c5759d
chinhli
  Sun May 6 22:40:06 2012 -0700
Finished forcing user to change password.
diff --git src/hg/hgLogin/hgLogin.h src/hg/hgLogin/hgLogin.h
index eadda3e..4a6f79e 100644
--- src/hg/hgLogin/hgLogin.h
+++ src/hg/hgLogin/hgLogin.h
@@ -28,30 +28,33 @@
 /* find the salt part from the password field */
 bool checkPwd(char *password, char *encPassword);
 /* check an encrypted password */
 unsigned int randInt(unsigned int n);
 /* little randome number helper returns 0 to n-1 */
 char *generateRandomPassword();
 /* Generate valid random password for users who have lost their old one.
  * Free the returned value.*/
 void lostPassword(struct sqlConnection *conn, char *username);
 /* Generate and mail new password to user */
 void mailNewPassword(char *username, char *email, char *password);
 /* send user new password */
 void sendNewPassword(struct sqlConnection *conn, char *username, char *password);
 /* email user new password  */
 
+void clearNewPasswordFields(struct sqlConnection *conn, char *username);
+/* clear the newPassword fields */
+
 void displayLoginPage(struct sqlConnection *conn);
 /* draw the account login page */
 void displayLogin(struct sqlConnection *conn);
 /* display and process login info */
 void  displayLoginSuccess(char *userName, int userId);
 /* display login success msg, and set cookie */
 void displayLogoutSuccess();
 /* display logout success msg, and reset cookie */
 void backToHgSession(int nSec);
 /* delay for N micro seconds then go back to hgSession page */
 void backToDoLoginPage(int nSec);
 /* delay for N micro seconds then go back to Login page */
 void displayLoginPage(struct sqlConnection *conn);
 /* draw the account login page */
 void displayAccHelpPage(struct sqlConnection *conn);