Skip to content

Commit

Permalink
fix: Delete multiple options.Events assignment. (#1429)
Browse files Browse the repository at this point in the history
options.Events was being assigned multiple times, deleted the 2 first

Co-authored-by: Daniel Espinosa <dan.development@live.com>
  • Loading branch information
danespinosa and DanielEspinosa authored Sep 7, 2021
1 parent ea6a196 commit 0e8a08d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ private static void PopulateOpenIdOptionsFromMergedOptions(

options.RequireHttpsMetadata = mergedOptions.RequireHttpsMetadata;
options.MetadataAddress = mergedOptions.MetadataAddress;
options.Events = mergedOptions.Events;
options.MaxAge = mergedOptions.MaxAge;
options.ProtocolValidator = mergedOptions.ProtocolValidator;
options.SignedOutCallbackPath = mergedOptions.SignedOutCallbackPath;
Expand Down Expand Up @@ -471,7 +470,6 @@ private static void PopulateOpenIdOptionsFromMergedOptions(
options.ReturnUrlParameter = mergedOptions.ReturnUrlParameter;
options.SignInScheme = mergedOptions.SignInScheme;
options.RemoteAuthenticationTimeout = mergedOptions.RemoteAuthenticationTimeout;
options.Events = mergedOptions.Events;
options.SaveTokens = mergedOptions.SaveTokens;
options.CorrelationCookie = mergedOptions.CorrelationCookie;
options.ClaimsIssuer = mergedOptions.ClaimsIssuer;
Expand Down

0 comments on commit 0e8a08d

Please sign in to comment.