同步OpenAuth.Core

修复mvc三级菜单;
Reposiroty单元测试读取webapi配置文件;
修复日志打印2次;
This commit is contained in:
yubaolee
2021-02-20 22:06:02 +08:00
parent ecc32d4173
commit 679dc613c1
13 changed files with 126 additions and 21 deletions

View File

@@ -109,8 +109,10 @@ namespace OpenAuth.Mvc
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IHostEnvironment env)
public void Configure(IApplicationBuilder app, IHostEnvironment env, ILoggerFactory loggerFactory)
{
loggerFactory.AddLog4Net();
app.UseAuthentication();
if (env.IsDevelopment())
{