* Fixed issue with not authorizing user

This commit is contained in:
2025-02-27 12:42:31 +01:00
parent 60d6332679
commit aedb5810c2
8 changed files with 30 additions and 32 deletions

View File

@@ -1,6 +1,5 @@
@page "/ScheduleOrder/{ScheduleOrderId:int}"
@rendermode InteractiveServer
@attribute [Authorize]
@using Microsoft.AspNetCore.Authorization
@using Syncfusion.Blazor.Grids

View File

@@ -1,14 +1,12 @@
@page "/"
@page "/ScheduleOrders"
@attribute [Authorize]
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.IdentityModel.Tokens
@using OrdersManagement.Components.Pages.Shared
@using Syncfusion.Blazor.Grids
@inject ScheduleOrderService ScheduleOrderService
@inject AuthenticationStateProvider AuthStateProvider
@* //@inject AuthTokenHandler TokenHandler *@
<div class="h-100 d-flex flex-column">
<h5>Zamówienia DELFOR</h5>