Protect finance cockpit with login

This commit is contained in:
2026-05-19 09:40:15 +02:00
parent 5c654ad848
commit 9c544afa20
8 changed files with 217 additions and 32 deletions
@@ -0,0 +1,11 @@
namespace TrafagSalesExporter.Security;
public sealed class FinanceCockpitAccessOptions
{
public const string SectionName = "FinanceCockpitAccess";
public bool Enabled { get; set; } = true;
public string Username { get; set; } = "finance";
public string PasswordHash { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
}