diff --git a/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs b/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs index 0a35d53a27..3ef8438ba5 100644 --- a/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs +++ b/src/Identity/UI/src/IdentityDefaultUIConfigureOptions.cs @@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Identity.UI internal class IdentityDefaultUIConfigureOptions : IPostConfigureOptions, IPostConfigureOptions, - IPostConfigureOptions where TUser : class + IConfigureNamedOptions where TUser : class { private const string IdentityUIDefaultAreaName = "Identity"; @@ -72,7 +72,9 @@ namespace Microsoft.AspNetCore.Identity.UI options.FileProvider = new CompositeFileProvider(options.FileProvider, filesProvider); } - public void PostConfigure(string name, CookieAuthenticationOptions options) + public void Configure(CookieAuthenticationOptions options) { } + + public void Configure(string name, CookieAuthenticationOptions options) { name = name ?? throw new ArgumentNullException(nameof(name)); options = options ?? throw new ArgumentNullException(nameof(options));