diff --git a/LANCommander/Pages/Settings/Users/Index.razor b/LANCommander/Pages/Settings/Users/Index.razor index 4c76037..4822690 100644 --- a/LANCommander/Pages/Settings/Users/Index.razor +++ b/LANCommander/Pages/Settings/Users/Index.razor @@ -20,7 +20,7 @@ - @if (!context.Approved) + @if (Settings.Authentication.RequireApproval && !context.Approved) { @@ -66,6 +66,7 @@ @code { ICollection UserList { get; set; } + LANCommanderSettings Settings = SettingService.GetSettings(); bool Loading = true; protected override async Task OnInitializedAsync()