Add admin access and landing dashboard
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace TrafagSalesExporter.Security;
|
||||
|
||||
public sealed class AdminAccessOptions
|
||||
{
|
||||
public const string SectionName = "AdminAccess";
|
||||
|
||||
public bool Enabled { get; set; } = true;
|
||||
public string Username { get; set; } = "admin";
|
||||
public string PasswordHash { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user