feat: add password policy to general config
This commit is contained in:
parent
8250957b85
commit
cff42d0a31
@ -1,5 +1,6 @@
|
|||||||
using Mirea.Api.Endpoint.Common.Services;
|
using Mirea.Api.Endpoint.Common.Services;
|
||||||
using Mirea.Api.Endpoint.Configuration.Model.GeneralSettings;
|
using Mirea.Api.Endpoint.Configuration.Model.GeneralSettings;
|
||||||
|
using Mirea.Api.Security.Common.Domain;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
@ -18,6 +19,8 @@ public class GeneralConfig : ISaveSettings
|
|||||||
public ScheduleSettings? ScheduleSettings { get; set; }
|
public ScheduleSettings? ScheduleSettings { get; set; }
|
||||||
public EmailSettings? EmailSettings { get; set; }
|
public EmailSettings? EmailSettings { get; set; }
|
||||||
public LogSettings? LogSettings { get; set; }
|
public LogSettings? LogSettings { get; set; }
|
||||||
|
public PasswordPolicy PasswordPolicy { get; set; } = new();
|
||||||
|
|
||||||
public string? SecretForwardToken { get; set; }
|
public string? SecretForwardToken { get; set; }
|
||||||
|
|
||||||
public void SaveSetting()
|
public void SaveSetting()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user