20230824
This commit is contained in:
@@ -281,6 +281,7 @@ namespace WebAPI.Controllers
|
||||
var getU = db.Person_Persons.FirstOrDefault(x => x.PersonId == userId && x.Password == oldp);
|
||||
if (getU != null)
|
||||
{
|
||||
getU.RawPassword=pwd;
|
||||
getU.Password = Funs.EncryptionPassword(pwd);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user