|
|
@ -337,7 +337,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
var bSend = new MailService(sOrgID, true).MailFactory(oEmail, out sError); |
|
|
|
|
|
|
|
srm = new SuccessResponseMessage(null, null); |
|
|
|
srm.DATA.Add(BLWording.REL, Mailto.MemberID); |
|
|
|
srm.DATA.Add(BLWording.REL, Mailto.Email); |
|
|
|
} while (false); |
|
|
|
|
|
|
|
return srm; |
|
|
@ -457,6 +457,7 @@ namespace EasyBL.WEBAPP.SYS |
|
|
|
{ |
|
|
|
do |
|
|
|
{ |
|
|
|
Console.WriteLine(Email); |
|
|
|
var sUser = db.Queryable<SETB_CMS_Member>().Single(x => x.Email == Email); |
|
|
|
sUser.Password = SecurityUtil.Encrypt(Password); //新密碼加密
|
|
|
|
var iRel = db.Updateable(sUser).ExecuteCommand(); //將新密碼更新至資料庫
|
|
|
|