Пример #1
0
 /// <summary>
 /// 更改登录密码
 /// </summary>
 /// <param name="newPassword"></param>
 public static void ChangePassword(string newPassword)
 {
     newPassword = AdapterHelper.Hash(newPassword);
     adminAdapter.ChangePassword(GetCurrentUser().UserID, newPassword);
     GetCurrentUser().PassWord = newPassword;
 }