Ajuste password en usuarioPerfiles
This commit is contained in:
parent
31cc95847d
commit
ab8282bd02
@ -627,6 +627,11 @@ namespace MSAdminUsuarios.Controllers
|
||||
existe.NU_TIPOUSUARIO_USUMS = nuevo.usuario.NU_TIPOUSUARIO_USUMS;
|
||||
existe.TX_REGPROF_MDC = nuevo.usuario.TX_REGPROF_MDC;
|
||||
|
||||
if (existe.TX_PASSWORD_USUMS == null || existe.TX_PASSWORD_USUMS == "")
|
||||
{
|
||||
existe.TX_PASSWORD_USUMS = _encript.EncryptPwd(nuevo.usuario.TX_PKDOC_USUMS!);
|
||||
}
|
||||
|
||||
_context.USUARIOSMs.Update(existe);
|
||||
_context.SaveChanges();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user