예제 #1
0
 public static int updateUserPwd(string opwd, string npwd)
 {
     if (blluser.updateUserPassword(new updateuserpwd().getId(), opwd, npwd) == 1)
     {
         new updateuserpwd().clearSession();
         return(1);
     }
     else
     {
         return(0);
     }
 }
예제 #2
0
 public static int updateUserPassword(int userId, string oldPwd, string newPwd)
 {
     return(blluser.updateUserPassword(userId, oldPwd, newPwd));
 }