diff --git a/aspnetcore/blazor/security/webassembly/standalone-with-identity/qrcodes-for-authenticator-apps.md b/aspnetcore/blazor/security/webassembly/standalone-with-identity/qrcodes-for-authenticator-apps.md index 353b9227a7d6..07d390437e72 100644 --- a/aspnetcore/blazor/security/webassembly/standalone-with-identity/qrcodes-for-authenticator-apps.md +++ b/aspnetcore/blazor/security/webassembly/standalone-with-identity/qrcodes-for-authenticator-apps.md @@ -160,16 +160,6 @@ At the top of the `CookieAuthenticationStateProvider.cs` file, add a `using` sta using System.Text.Json.Serialization; ``` -Inject an `ILogger` to log exceptions in the class: - -```diff -- public class CookieAuthenticationStateProvider(IHttpClientFactory httpClientFactory) -- : AuthenticationStateProvider, IAccountManagement -+ public class CookieAuthenticationStateProvider(IHttpClientFactory httpClientFactory, -+ ILogger logger) -+ : AuthenticationStateProvider, IAccountManagement -``` - In the , add the option set to , which avoids serializing null properties: ```diff