void UserBO_OnUserPasswordChanged(int userID, string password) { UserPasswordProxy passwordProxy = new UserPasswordProxy(); passwordProxy.UserID = userID; passwordProxy.Password = password; passwordProxy.PasswordFormat = (int)EncryptFormat.bbsMax; this.CreateInstruct(userID, InstructType.User_ChangePassword, passwordProxy); }
public override void Execute(int userID, DateTime instructDateTime, string datas) { UserPasswordProxy passowrd = DataReadWrap.Get <UserPasswordProxy>(datas); UserBO.Instance.Client_ResetUserPassword(passowrd.UserID, passowrd.Password, (EncryptFormat)passowrd.PasswordFormat); }