Skip to content

Commit a974846

Browse files
authored
Update Startup.cs
1 parent 2dc14d8 commit a974846

File tree

1 file changed

+3
-2
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Startup

1 file changed

+3
-2
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Startup/Startup.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
8585
app.UseRouting();
8686

8787
app.UseAuthentication();
88-
app.UseAuthorization();
89-
88+
9089
app.UseJwtTokenMiddleware();
90+
91+
app.UseAuthorization();
9192

9293
app.UseEndpoints(endpoints =>
9394
{

0 commit comments

Comments
 (0)