From cff42d0a31792e9ad35b6e3af3ca3c361fa990ca Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Wed, 18 Dec 2024 07:31:16 +0300 Subject: [PATCH] feat: add password policy to general config --- Endpoint/Configuration/Model/GeneralConfig.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Endpoint/Configuration/Model/GeneralConfig.cs b/Endpoint/Configuration/Model/GeneralConfig.cs index 454ee90..f363517 100644 --- a/Endpoint/Configuration/Model/GeneralConfig.cs +++ b/Endpoint/Configuration/Model/GeneralConfig.cs @@ -1,5 +1,6 @@ using Mirea.Api.Endpoint.Common.Services; using Mirea.Api.Endpoint.Configuration.Model.GeneralSettings; +using Mirea.Api.Security.Common.Domain; using System.IO; using System.Text.Json; using System.Text.Json.Serialization; @@ -18,6 +19,8 @@ public class GeneralConfig : ISaveSettings public ScheduleSettings? ScheduleSettings { get; set; } public EmailSettings? EmailSettings { get; set; } public LogSettings? LogSettings { get; set; } + public PasswordPolicy PasswordPolicy { get; set; } = new(); + public string? SecretForwardToken { get; set; } public void SaveSetting()