EntityNames replacements

This commit is contained in:
Pavel Vesely
2020-03-14 18:16:04 +01:00
parent d7b95f5b2c
commit 7feee22b32
12 changed files with 55 additions and 42 deletions

View File

@ -187,7 +187,7 @@ namespace Oqtane.Controllers
}
}
User = _users.UpdateUser(User);
_syncManager.AddSyncEvent("User", User.UserId);
_syncManager.AddSyncEvent(EntityNames.User, User.UserId);
User.Password = ""; // remove sensitive information
_logger.Log(LogLevel.Information, this, LogFunction.Update, "User Updated {User}", User);
}